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.