Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Students do not need accounts with us
Our educational partners
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 would I compare the Y values of two sprites? I want Sprite 1 to behave in a certain way when it is within a certain number of pixels of Sprite 2's Y position on screen.
Develop games in your browser. Powerful, performant & highly capable.
System compare two values: abs(player.Y-sprite2.y) > 100
Thanks LittleStain! I think you meant < and not >, but it works great!