Interact
Trigger activated when a player interacts with an object.
Introduction
Interact pops an interaction button bubble above the object when a player comes close and looks at it, inviting them to press it. Doors, vending machines, and dialogue prompts all start here. The Interact component panel in the Object editor Image The Interact component panel in the Object editor. caption To attach Interact to a character instead, follow the Character Interact guide.
How to Access
Select an object, open the Properties Panel, then press the Add Component button at the bottom and pick Interact. The component stacks onto the object as a new accordion of properties. Video
Another Way to Access
Shortcut: open the Asset Panel, go to the Device tab, Basic category, and click the Interact block. The editor spawns a cube with Interact already attached, ready to adjust. How to Access - the Interact block in Asset Panel > Device > Basic
Properties
Interact Radius Float How close a player needs to be before the button bubble appears. X-Ray Bool Allows interacting through walls. Glass and water are always see-through, no matter this setting. Buttons List The list of interaction button bubbles. You can add or remove options freely. Property Type Description Every property on the Interact component.
Events
When Button Is Clicked Fires when a player presses one of the interaction bubbles. Player: the player who clicked Event Description Parameter Every event on the Interact component. Each event links to its full guide, where its parameters and example live.
Commands
Interact has no commands.
Example
A player interacts with a cube to make it disappear. Interact - Simple video