frameStart
frameStart
sets/gets the starting frame of the action.
Type: float
Sample Code
################ Get frameStart
# get the controller
controller = GameLogic.getCurrentController()
# get the
actuator attached to controller named Walk
act = controller.actuators["Walk"]
# get number of starting frame
startFrame = act.frameStart
################ Set frameStart
# get the controller
controller = GameLogic.getCurrentController()
# get the
actuator attached to controller named Walk
act = controller.actuators["Walk"]
# set starting frame
act.frameStart = 10.0
|