mnscript
number MotionDetectorDevice.GetRange() Description ​
Gets the range of the motion detector
Returns ​
number - The range of the motion detector
Example ​
msc
using Device;
// Finds a motion detector device with the name "My Motion Detector" and gets its range
MotionDetectorDevice detector = Device.FindMotionDetector("My Motion Detector");
number range = detector.GetRange();