MouseActuator(Actuator)

base classes — bpy_struct, Actuator

class bpy.types.MouseActuator(Actuator)
local_x

Apply rotation locally

Type:boolean, default False
local_y

Apply rotation locally

Type:boolean, default False
max_x

Maximum positive rotation allowed by X mouse movement (0 for infinite)

Type:float in [-inf, inf], default 0.0
max_y

Maximum positive rotation allowed by Y mouse movement (0 for infinite)

Type:float in [-inf, inf], default 0.0
min_x

Maximum negative rotation allowed by X mouse movement (0 for infinite)

Type:float in [-inf, inf], default 0.0
min_y

Maximum negative rotation allowed by Y mouse movement (0 for infinite)

Type:float in [-inf, inf], default 0.0
mode
Type:enum in [‘VISIBILITY’, ‘LOOK’], default ‘VISIBILITY’
object_axis_x

Local object axis mouse movement in the X direction will apply to

Type:enum in [‘OBJECT_AXIS_X’, ‘OBJECT_AXIS_Y’, ‘OBJECT_AXIS_Z’], default ‘OBJECT_AXIS_X’
object_axis_y

Local object axis mouse movement in the Y direction will apply to

Type:enum in [‘OBJECT_AXIS_X’, ‘OBJECT_AXIS_Y’, ‘OBJECT_AXIS_Z’], default ‘OBJECT_AXIS_X’
reset_x

Reset the cursor’s X position to the center of the screen space after calculating

Type:boolean, default False
reset_y

Reset the cursor’s Y position to the center of the screen space after calculating

Type:boolean, default False
sensitivity_x

Sensitivity of the X axis

Type:float in [-inf, inf], default 0.0
sensitivity_y

Sensitivity of the Y axis

Type:float in [-inf, inf], default 0.0
threshold_x

Amount of X motion before mouse movement will register

Type:float in [-inf, inf], default 0.0
threshold_y

Amount of Y motion before mouse movement will register

Type:float in [-inf, inf], default 0.0
use_axis_x

Calculate mouse movement on the X axis

Type:boolean, default False
use_axis_y

Calculate mouse movement on the Y axis

Type:boolean, default False
visible

Make mouse cursor visible

Type:boolean, default False

Inherited Properties

Inherited Functions