Actions / Basic
Wait
Pauses the code chain for a chosen amount of time.
Current editor blockBlock ID 9Wait

What it does
Keeps the current code position from moving forward until the wait is done.
Inputs
- Time amount. The runtime repeats the wait until the count finishes.
Try it
Wait 2, then Open Door. Great for delayed traps.
Tips
- A small Wait inside a Loop makes patrols feel less robotic.
Sources
Legacy pages reviewed: Wait
Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/ContentFonction.cs, MagiCats_UnityProject/Assets/Scripts/Blocks/BlockManager.cs