public Action getCurrentAction(String layerName) {
        AnimLayer l = getLayer(layerName);
        Action result = l.getCurrentAction();

        return result;
    }
Return current action on specified layer.

@param layerName The layer on which action should run.
@return The action corresponding to the given name.
jme3-core/src/main/java/com/jme3/anim/AnimComposer.java