Instance Property


The node whose coordinate system should be used to apply the constraint.


var referenceNode: SKNode? { get set }


The default value is nil, meaning that the coordinate system of the node’s parent is used to apply the constraint. If another node is specified, all positions are converted into this node’s coordinate system before the constraint is applied.