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.
Use the system "compare two values" and input your values there
Note that compare two values does not do any picking...
Develop games in your browser. Powerful, performant & highly capable.
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 :)