Back

SetScreenBrightness

The SetScreenBrightness method sets the screen brightess for this App with a decimal value between 0 and 1.

 app.SetScreenBrightness( brightness );

Example

function OnStart()
{
  app.SetScreenBrightness( 0.25 );
}
  Copy   Copy All    Run