Enum
Enum.SensorMode
Specifies whether a ControllerPartSensor targets floor or ladder geometry, and which detection algorithm to use.
| Item | Value | Summary |
|---|---|---|
| Enum.SensorMode.Floor | 0 | Detects floor surfaces below the part using the modern detection algorithm; the default value of ControllerPartSensor.SensorMode. |
| Enum.SensorMode.Ladder | 1 | Detects ladder surfaces adjacent to the part using the modern piercing-based detection algorithm. |
| Enum.SensorMode.ClassicFloor | 2 | Detects floor surfaces below the part using the legacy raycast-based algorithm. |
| Enum.SensorMode.ClassicLadder | 3 | Detects ladder surfaces adjacent to the part using the legacy ladder detection algorithm. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.