Garry's Mod Wiki

motionsensor.IsAvailable

  boolean motionsensor.IsAvailable()

Description

Returns true if we have detected that there's a kinect connected to the PC

Returns

1 boolean
Connected or not