Creates an action that moves the node at a specified speed along a path.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
A path to follow.
YES, the points in the path are relative offsets to the node’s starting position. If
NO, the points in the node are absolute coordinate values.
The speed at which the node should move, in points per second.
A new action object.
When the action executes, the node’s
z properties are animated along the provided path. The duration of the action is determined by the length of the path and the speed of the node.
This action is reversible; the resulting action creates a reversed path and then follows it, with the same speed.