# ARSetup

## Description

Only available on iOS and Android. This command sets up the AR features of the device, if available. Use the ARGetStatus command to check if this was successful. This command must be called before any other AR commands, if the setup fails you may call this command again to attempt setup again.
Setting up AR will take control of the 3D camera, including the projection matrix, so any changes you make to the camera position, rotation, FOV, will be overwritten by the AR system when Render or Sync are called. However you can still control the camera near and far values with SetCameraRange which will persist through the AR system.
When using AR and placing or sizing 3D objects then the coordinate system is 1 AGK unit equals 1 meter.

## Definition

ARSetup()

void agk::ARSetup()