MotionDetectorDevice.SetRange
Skip to content
mnscript
MotionDetectorDevice.SetRange(number) 

Description ​

Sets the range of the motion detector

Arguments ​

number - The range to set on the detector (0-400)

Example ​

msc
using Device;

// Finds a motion detector device with the name "My Motion Detector" and set its range
MotionDetectorDevice detector = Device.FindMotionDetector("My Motion Detector");
detector.SetRange(300);