Component reference
Interaction components
Interactable component
5min
description the interactable component enables entities to respond to user interactions such as proximity, hover, or clicks properties property description label displays text to guide the user (e g , "hover over to start") activation type specifies how to trigger interaction proximity activates when the user enters a defined range hover activates when the user's cursor hovers over the entity 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 self affects the current entity other entities in the scene, selectable from a list callback id defines the action performed setvisible setinvisible disable collision enable collision linkcallback usage notes callbacks can link the interactable component to other components that define what happens upon interaction important details component dependencies the interactable component is used in conjunction with the input component docid 1swkxzge94sh o5gbubl2 to handle user input events