|Kode wheel segment||Objects/Interactions|
|Pre-made brains that use it||Doors, weapons|
Objects >Interactions > interacted
This tile is a sensor. It detects if an object has been interacted with. The default in a player brain is to detect an interactable object and press B (space) to interact with it. You need to kode what the effect of that interaction will be. Common uses are to turn on a powered object, such as a door, a crank, a lightbulb, or to engage with a character for conversation, or to pick up an object. Be aware that an interaction is a single frame event, and you cannot cause a timed event to happen due to the interaction directly, you must use a boolean or switch page.
WHEN [interacted] DO [power on]
WHEN [interacted] DO [switch page]
by: Paired with an object or object variable. This limits the interaction effect to a single player/character.
See Tutorial Interaction by Seris Taclys