MovementSensor(Sensor)

base classes — bpy_struct, Sensor

class bpy.types.MovementSensor(Sensor)

Sensor to detect if the owner has moved

axis

Along which axis movement has to be detected

Type:enum in [‘XAXIS’, ‘YAXIS’, ‘ZAXIS’, ‘NEGXAXIS’, ‘NEGYAXIS’, ‘NEGZAXIS’, ‘ALLAXIS’], default ‘XAXIS’
threshold

Set Threshold

Type:float in [0.001, 10000], default 0.01
use_local

Toggle beetween local/global coordinates

Type:boolean, default False
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions