Back

ShowPopup

Hello World

Shows a simple popup message on the screen.

app.ShowPopup( message, options )

It automatically disappears after about 5 secods or after an even shorter time if you pass the “Short” option, or when the user touches the screen.

Example - Top

function OnStart()
{
    app.ShowPopup( "Hello World!" );
}
    Copy     Copy All       Run      

Example - Bottom

function OnStart()
{
    app.ShowPopup( "Hello World!", "Bottom,Short" );
}
    Copy     Copy All       Run      
string
string: comma “,” separated: “Bottom”, “Short” or “Long”