
isPlayingAction(layer)
- Checks to see if there is an action playing in the given layer.
- 1 = True = Action playing
- 0 = False = Action not playing
- The layer that you want to get the frame from.
- Type: integer

Sample Code
################## check to see if the action is playing
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# check if action is playing in layer 3
playing = obj.isPlayingAction(3)