pixijs-events

Official

Enable robust PixiJS v8 event handling.

Authorpixijs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PixiJS's federated event system mirrors DOM events on the scene graph. Set container eventMode to 'static' to opt an object in, then listen with on, addEventListener, or onEventName property handlers. Move events fire only over the listening object; use globalpointermove for drag.

Core Features & Use Cases

  • Global event mode control via eventMode values ('none', 'passive', 'auto', 'static', 'dynamic') to tailor interaction behavior.
  • FederatedEvent types and a rich event payload (FederatedPointerEvent, FederatedWheelEvent) with propagation, capture phase, hitArea overrides, and cursor integration.
  • Practical patterns for dragging, hit-testing, and cursor styling to build responsive UI and interactive scenes.

Quick Start

Set up a PixiJS container with eventMode and attach a pointerdown listener to respond to user interactions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pixijs-events
Download link: https://github.com/pixijs/pixijs-skills/archive/main.zip#pixijs-events

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.