Creates an action that rotates the node counterclockwise to an absolute angle.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The angle to rotate the node to, in radians.
The duration of the animation.
A new action object.
When the action executes, the node’s
z property is interpolated to the new angle.
This action is not reversible; the reverse of this action has the same duration but does not change anything.