Motion
Get Motion

ReferenceScripting APIMotionEventssensor

MotionEvents.sensor

property

A new reading of one of the scene's sensors: its id, its value, when (ms), and the name it's shared as.

Namesensor
Kindproperty of MotionEvents
Called asevents.sensor
Since0.3

Syntax

sensor: (id: string, value: any, at: number, name: string) => void