Creates an action that moves the node along a relative path at a specified speed, orienting the node to the path.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
A Core Graphics path whose coordinates are relative to the node’s current position.
The speed at which the node should move, in points per second.
A new action object.
Calling this method is equivalent to calling the
follow(_: method, passing in
true to both the
This action is reversible; the resulting action creates and then follows a reversed path with the same speed.