motions property
MotionController
motions
The MotionController associated with this node.
myNode.motions.run(myMotion);
Implementation
MotionController get motions {
if (_motions == null) {
_motions = MotionController();
if (_spriteBox != null) _spriteBox!._motionControllers = null;
}
return _motions!;
}