(For quick reference, here’s the snippet:
let aspectRatio : number;
Z.screen.on("resize",(height,width)=>aspectRatio = height/width); )
I also noticed in the Docs that there’s something listed as Z.ScreenSizeConstrain but I’m not sure if this is what I’m looking for, or even how I would use it.
Really, we’re just trying to make something to resize some elements on a tablet versus a phone, as users for our project will likely have both devices in use at some point.