# Enum.SensorMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/SensorMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/SensorMode

Specifies whether a [`ControllerPartSensor`](https://rapi.sleaze.dev/classes/ControllerPartSensor.md) targets floor or ladder geometry, and which detection algorithm to use.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Floor` | 0 | Detects floor surfaces below the part using the modern detection algorithm; the default value of [`ControllerPartSensor.SensorMode`](https://rapi.sleaze.dev/classes/ControllerPartSensor.md). |
| `Ladder` | 1 | Detects ladder surfaces adjacent to the part using the modern piercing-based detection algorithm. |
| `ClassicFloor` | 2 | Detects floor surfaces below the part using the legacy raycast-based algorithm. |
| `ClassicLadder` | 3 | Detects ladder surfaces adjacent to the part using the legacy ladder detection algorithm. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [ControllerPartSensor](https://rapi.sleaze.dev/classes/ControllerPartSensor.md): property `SensorMode`
