# GetCameraExists

## Description

Returns 1 if the current device has a camera, 0 if not. On some platforms this command enumerates the hardware devices to check for a camera which may be slow. It is not recommended that you call this every frame. On Windows this command will successfully detect a new camera being plugged in whilst the app is running.

## Definition

integer GetCameraExists()

int agk::GetCameraExists()