Back
GetScreenWidth
The
GetScreenWidth
method gets the width of the phone/tablet screen in pixels.
app.GetScreenWidth();
Example
function OnStart()
{
width = app.GetScreenWidth();
app.ShowPopup( width );
}
Copy
Copy All
Run