Creates an action that moves a node to a new position.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The coordinates for the node’s new position in its parent node’s local coordinate space.
The duration, in seconds, of the animation.
A new action object.
When the action executes, the node’s
position property animates from its current position to its new position.
This action is not reversible; the reverse of this action has the same duration but does not move the node.