KX_MovementSensor(SCA_ISensor)

base class — SCA_ISensor

class KX_MovementSensor(SCA_ISensor)

Movement sensor detects movement of owner object at a given threshold.

axis

The axis which the movement will be detected. Can be one of these constants.

Type:int
threshold

Minimum of movement needed to trigger the sensor.

Type:float