Can I use an expression to compare variables?
Something like x > (y+50)
Maybe you could use clamp for that.
clamp(x, lower, upper)
Return lower if x is less than lower, upper if x is greater than upper, else return x.
How does it work in the compare variable event?
System:Compare two values
x > (y+50)
=Equal to
1
Develop games in your browser. Powerful, performant & highly capable.
There is also a ternary operator:
Set text to X>(Y+50) ? "yes" : "no"