Skip to content

Script

Script

Scripts are programmable elements that contain Commands to execute. They can be authored visually in the editor or as text-based code.

Scripts appear in many contexts: Entities use them for behavior and interaction, Global Scripts run shared logic, User Interfaces use them for event handling, and battle events trigger them during combat.

When attached to an Entity, scripts gain additional capabilities: Conditions that must be met, and Interactions that trigger execution (such as action button presses, touch events, or auto-run).