Returns the location of the receiver in the coordinate system of the given node.
SDK
Framework
On This Page
- (CGPoint)locationInNode:(SKNode *)node;
node
A node that is a descendant of a scene presented in the window that received the mouse event.
The location of the event in the node’s coordinate system.