
actuators
- Returns a list of the actuators attached to the game object
- list [ SCA_IActuator ]
actuators[ "actuator_name"]
- Returns a named actuator attached to the game object
- SCA_IActuator

Sample Code
################## get a list of the actuators attached to the game object
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get a list of the objects in the scene
objList = cont.objects
# get object
# my object is named Bomb
obj = objList["Bomb"]
# get actuator list
actList = obj.actuators
Sample Code
################## get a named actuator attached to the game object
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get a list of the objects in the scene
objList = cont.objects
# get object
# my object is named Bomb
obj = objList["Bomb"]
# get actuator
# my actuator is named Explosion
act = obj.actuators["Explosion"]