ReferenceScripting APIMotionScenesensors
MotionScene.sensors
methodThe sensors the scene listens to, as its Sensors tab lists them.
| Name | sensors |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.sensors(…) |
| As a node | Get Sensors (logic graph) |
| Since | 0.4 |
Syntax
sensors(): ({ sensor: string; share: string })[]Returns
({ sensor: string; share: string })[]: each one's sensor id and the name it's shared as.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.