Table of Contents

Enum Tree.DropModeFlagsEnum

Namespace
Godot
Assembly
GodotSharp.dll
public enum Tree.DropModeFlagsEnum : long

Fields

Disabled = 0

Disables all drop sections, but still allows to detect the "on item" drop section by GetDropSectionAtPosition(Vector2).

Note: This is the default flag, it has no effect when combined with other flags.

Inbetween = 2

Enables "above item" and "below item" drop sections. The "above item" drop section covers the top half of the item, and the "below item" drop section covers the bottom half.

When combined with OnItem, these drop sections halves the height and stays on top / bottom accordingly.

OnItem = 1

Enables the "on item" drop section. This drop section covers the entire item.

When combined with Inbetween, this drop section halves the height and stays centered vertically.