The position of the node in continuous 2D space.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
You specify a position when creating a node, but you can also change a node’s position after initialization.
When working with an array of nodes returned by the
findPath(from:to:) method, read the position from each node to determine the path for an entity in your game scene to follow.