# Proximity Sensor

This event is triggered when the proximity sensor reports a new value.

{% hint style="info" %}
The values of the sensor are stored in the variables specified in the call made to **SensorEnable** action in **mm**.
{% endhint %}

{% hint style="info" %}
Many devices only have basic proximity sensors, and report only 2 distinct values, like 0mm/1mm, or 0mm/10mm. It is normally used to determine if the device has some object very close to it like the users head when talking on the phone.        &#x20;
{% endhint %}

#### Event available on the following operating systems

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MGIW3wIXgRupIGNu8-p%2F-MGIiDGuNcrVFP-DbUma%2FTodos.PNG?alt=media\&token=406123c5-e2bb-4ec6-8044-9533b8686f6f)
