Component reference
Interaction components
Interactable component
5min
The Interactable component enables entities to respond to user interactions such as proximity, hover, or clicks.
Property | Description |
---|---|
Label | Displays text to guide the user (e.g., "Hover over to start"). |
Activation Type | Specifies how to trigger interaction:
|
Click to Interact | Requires the user to click to complete the interaction. |
Add Callback | Opens a menu to define actions triggered during interaction. |
Add Callback options:
Property | Description |
---|---|
Target | Specifies the entity affected by the interaction:
|
Callback ID | Defines the action performed:
|
- Callbacks can link the Interactable component to other components that define what happens upon interaction.
- Component dependencies: The Interactable component is used in conjunction with the Input component to handle user input events.
Updated 05 Dec 2024
Did this page help you?