Node2DToLocal Method |
Transforms the provided global position into a position in local coordinate space. The output will be local relative to the Node2D it is called on. e.g. It is appropriate for determining the positions of child nodes, but it is not appropriate for determining its own position relative to its parent.
Namespace: Godot
public Vector2 ToLocal( Vector2 globalPoint )
[Missing <param name="globalPoint"/> documentation for "M:Godot.Node2D.ToLocal(Godot.Vector2)"]
[Missing <returns> documentation for "M:Godot.Node2D.ToLocal(Godot.Vector2)"]