Kode wheel segment Objects/Interactions
Style Sensor
Modifiers  None
Primarily WHEN/DO WHEN
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.

Example Code

WHEN [interacted] DO [power on]


WHEN [interacted] DO [switch page][2]


by: Paired with an object or object variable. This limits the interaction effect to a single player/character.

Other Uses

See Tutorial Interaction by Seris Taclys

Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: