# SensorMode(ロブロックス 列挙型(Enum)) > Specifies whether a ControllerPartSensor targets floor or ladder geometry, and which detection algorithm to use. - URL:https://roblox.minecraft-okinawa.com/reference/enums/SensorMode/ - 公式:https://create.roblox.com/docs/reference/engine/enums/SensorMode ## 選べる値 - 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. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)