Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
Or the width and height of an object after the canvas has been scaled? Is it possible? Using the runtime.width/height commands seem like they could do the trick but I don't know how to use them inside events; the editor complains that runtime is not a behavior when I try.
Develop games in your browser. Powerful, performant & highly capable.
Use the system "compare two values" and input your values there
Note that compare two values does not do any picking...
You're confusing javascript with Construct 2 expressions. In the Construct 2 editor it's WindowWidth and WindowHeight, but don't confuse them with the viewport.
That worked. Thanks :)