Skip to content

Variable: Pressed

const Pressed: Component<{ }>

Defined in: packages/core/src/input/state-tags.ts:86

A transient tag set while a pointer is actively pressing an interactable.

Remarks

  • Managed by InputSystem; do not add/remove this component manually.
  • Often used to gate activation logic or pressed-state visuals.
  • Works with both RayInteractable and PokeInteractable entities.

Hideineditor

Privacy | Terms