Actuator(bpy_struct)
base class — bpy_struct
subclasses —
ActionActuator, ArmatureActuator, CameraActuator, CollectionActuator, ConstraintActuator, EditObjectActuator, Filter2DActuator, GameActuator, MessageActuator, MouseActuator, ObjectActuator, ParentActuator, PropertyActuator, RandomActuator, SceneActuator, SoundActuator, StateActuator, SteeringActuator, VibrationActuator, VisibilityActuator
- class bpy.types.Actuator(bpy_struct)
Actuator to apply actions in the game engine
- active
Set the active state of the actuator (default True)
- Type:
bool
- name
(default “”, never None)
- Type:
str
- pin
Display when not linked to a visible states controller (default False)
- Type:
bool
- show_expanded
Set actuator expanded in the user interface (default False)
- Type:
bool
- type
(default
'MOTION')- Type:
Literal[‘ACTION’, ‘ARMATURE’, ‘CAMERA’, ‘COLLECTION’, ‘CONSTRAINT’, ‘EDIT_OBJECT’, ‘FILTER_2D’, ‘GAME’, ‘MESSAGE’, ‘MOTION’, ‘MOUSE’, ‘PARENT’, ‘PROPERTY’, ‘RANDOM’, ‘SCENE’, ‘SOUND’, ‘STATE’, ‘STEERING’, ‘VIBRATION’, ‘VISIBILITY’]
- link(controller)
Link the actuator to a controller
- Parameters:
controller (
Controller) – Controller to link to
- unlink(controller)
Unlink the actuator from a controller
- Parameters:
controller (
Controller) – Controller to unlink from
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type: