
setActionFrame(frame, layer)
- Set the current frame of the action in the supplied layer.
- The frame to set the action to.
- Type: float number
- The layer that you want to get the frame from.
- Type: integer

Sample Code
################## set the current frame of action in named layer
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# set current frame in layer 3
obj.setActionFrame(10.0, 3)