Title says it all pretty much.
I've searched around, apparently windowwidth/height it no longer the way.
Ashly mentioned viewport here - scirra.com/forum/windowheight-selfheight-not-centering-n-stretch_topic53031.html
But that doesn't seem to be working.
Any suggestions guys? Bit stumped on this one, thanks for reading :)
(ViewportLeft("Layer") + ViewportRight("Layer")) / 2
(ViewportTop("Layer") + ViewportBottom("Layer")) / 2
^ That should work fine. Make sure you substitute "Layer" with your layer name.
Develop games in your browser. Powerful, performant & highly capable.
I did rename it, but me being stupid (blaming tiredness haha) called it "3" instead of the actual layout name!
It worked now. Thanks :D