Skip to content

Enum

Enum.SensorMode

Specifies whether a ControllerPartSensor targets floor or ladder geometry, and which detection algorithm to use.

Official docs ↗
ItemValueSummary
Enum.SensorMode.Floor0Detects floor surfaces below the part using the modern detection algorithm; the default value of ControllerPartSensor.SensorMode.
Enum.SensorMode.Ladder1Detects ladder surfaces adjacent to the part using the modern piercing-based detection algorithm.
Enum.SensorMode.ClassicFloor2Detects floor surfaces below the part using the legacy raycast-based algorithm.
Enum.SensorMode.ClassicLadder3Detects 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.