ItemListGetItemAtPosition Method |
Returns the item index at the given position.
When there is no item at that point, -1 will be returned if exact is true, and the closest item index will be returned otherwise.
Namespace: Godot
public int GetItemAtPosition( Vector2 position, bool exact = false )
[Missing <param name="position"/> documentation for "M:Godot.ItemList.GetItemAtPosition(Godot.Vector2,System.Boolean)"]
[Missing <param name="exact"/> documentation for "M:Godot.ItemList.GetItemAtPosition(Godot.Vector2,System.Boolean)"]
[Missing <returns> documentation for "M:Godot.ItemList.GetItemAtPosition(Godot.Vector2,System.Boolean)"]