Creates an action that moves a node relative to its current position.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The x-value, in points, to add to the node’s position.
The y-value, in points, to add to the node’s position.
The duration 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 reversible; the reverse is created as if the following code is executed: