Skip to content
Roblox API Reference

Enum.SensorMode

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

Items4

  • 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.

Used by properties1