Conditions / Basic
Compare Numbers
Checks whether two numbers match a comparison.
Current editor blockBlock ID 56MathEgal

What it does
Compares the two values and returns true or false.
Inputs
- Left number.
- Operator: =, <, >, <=, or >=.
- Right number.
Try it
If Distance Between Player and Enemy < 4, Attack.
Tips
- Use this with Distance Between to make proximity traps.
Sources
Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/ContentFonction.cs, MagiCats_UnityProject/Assets/Scripts/Blocks/BlockManager.cs