GetScreenWidth
The
GetScreenWidth
function 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