Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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
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.
Develop games in your browser. Powerful, performant & highly capable.
From objects conditions, select 'compare instance variable'. Select <= 20 and then add another condition with >= 30