TreeGetDropSectionAtPosition Method |
Returns the drop section at position, or -100 if no item is there.
Values -1, 0, or 1 will be returned for the "above item", "on item", and "below item" drop sections, respectively. See TreeDropModeFlagsEnum for a description of each drop section.
To get the item which the returned drop section is relative to, use GetItemAtPosition(Vector2).
Namespace: Godot
public int GetDropSectionAtPosition( Vector2 position )
[Missing <param name="position"/> documentation for "M:Godot.Tree.GetDropSectionAtPosition(Godot.Vector2)"]
[Missing <returns> documentation for "M:Godot.Tree.GetDropSectionAtPosition(Godot.Vector2)"]