interaction visionOS 1 ✓ RCP

InputTargetComponent

Makes an entity respond to system input events: tap, drag, pinch, and spatial gestures.

iOS / iPadOS
18.0
since iOS 18.0
visionOS
1.0
since visionOS 1.0
macOS
15.0
since macOS 15.0
Add Component menu

Exposed in the RCP Add Component picker. Editable in the entity inspector without writing code.