stop method

void stop(
  1. Motion motion
)

Stops an Motion and removes it from the controller.

myNode.motions.stop(myMotion);

Implementation

void stop(Motion motion) {
  if (_motions.remove(motion)) {
    motion._added = false;
    motion._reset();
  }
}