How do you input a range of values as an expression?
For example, in the compare instance variable condition, I would like to check for a range of values between 20 and 30
Develop games in your browser. Powerful, performant & highly capable.
Thought I could use the operators from scirra.com/manual/78/expressions, but I just tried it in compare instance variable and I couldn't.
There's a way to do it without using expression: right click the event (not condition, but the block of event) and "make OR block". That way you can make two OR conditions that are greater than 20 and less than 30.
From objects conditions, select 'compare instance variable'. Select <= 20 and then add another condition with >= 30