public void setEnabled(boolean enabled) {
        if (enabled) {
            play();
        } else {
            pause();
        }
    }
Sets the motion path to follow.

@param path the desired path (alias created)
jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java