public void setLooping(boolean loop) {
        this.loop = loop;
    }
Sets the looping mode for this layer. The default is true.

@param loop True if the action should keep looping after it is done
playing
jme3-core/src/main/java/com/jme3/anim/AnimLayer.java