Component reference
Interaction components
Input component
4min
The Input component listens for user input events and forwards them to entities with InputSink components, such as the Interactable component. It controls how entities receive input within a defined proximity.
Property | Description |
---|---|
Proximity Focus Distance | Sets the distance at which the entity detects user input. |
Sink Targets | Lists the entities that receive input events:
|
Add Sink Target | Allows to configure more Sink Targets. |
Remove Target | Removes entities from the Sink Targets list. |
- Set the Proximity Focus Distance to define how close users must be to interact.
- Component dependencies: Works closely with the Interactable component and other interactive components.
- Input conflicts: Be mindful of overlapping input definitions that may cause conflicts or unintended behaviors.
Updated 05 Dec 2024
Did this page help you?