Instance Property


The position of the node in continuous 2D space.


var position: vector_float3 { get set }


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 GKGraph findPath(from:to:) method, read the position from each node to determine the path for an entity in your game scene to follow.