MagiCats
Wiki home
Actions / Door

Close Door

Closes the subject if it is a toggleable door.

Current editor blockBlock ID 81CloseDoor
Close Door code block in the MagiCats editor

What it does

Finds a toggleable entity on the subject and deactivates it.

Inputs

  • No input.

Try it

Wait 2, Close Door, after the player enters.

Tips

  • Use carefully so players do not get trapped unfairly.

Sources

Legacy pages reviewed: CloseDoor

Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/ContentFonction.cs, MagiCats_UnityProject/Assets/Scripts/Blocks/BlockManager.cs