Skip to content

VisualInteractiveOptions

Defined in: renderer/src/VisualComponent.ts:27

Pixi event-mode + pointer-consume config shared by every visual component’s interactive option.

optional consumeOnInteraction?: boolean

Defined in: renderer/src/VisualComponent.ts:35

When true, claim pointer events landing on this container. Default false.


optional eventMode?: "dynamic" | "static"

Defined in: renderer/src/VisualComponent.ts:33

Pixi event mode. Defaults to "static" when the option object is set (interactive, no children-recurse cost). Pass "dynamic" for Pixi behavior where event-mode propagates to children automatically.