# SetImmersiveMode

## Description

Removes any on screen controls that may have been placed on screen by the OS, for example the home and back buttons, allowing your app to use the entore screen. Your app may be resized after calling this command so if you have used GetDeviceWidth or GetDeviceHeight you should wait a few frames then call them again to get the new values. The values may not change immediately after calling this command as it takes some time for the navigation bar to change. Currently this only applies to Android devices running 4.4 (API 19) or higher. On other platforms this command does nothing.

## Definition

SetImmersiveMode( mode )

void agk::SetImmersiveMode( int mode )

## Parameters

- mode - 1 to turn on immersive mode, 0 to turn it off