Class GGDragonDrop extends Node
Provides an abstraction for Drag-and-Drop operations.
# Signals
signal dragging(data: GGDragonDropData) signal dropped(data: GGDragonDropData) # Members
## The [Control] to handle drag and drop for (optional). If you want to manage which control drag-and-drop support is added to at runtime, use [method add_dnd] instead.var control: Controlvar strategy: GGDragonDropStrategyvar helper_group: String = "gg_dragon_helper"# Methods
## Adds drag-and-drop capabilities to the [param control]. The behavior is controlled by the [member allow_drag], [member use_force_drag], and [member allow_drop] properties.func add_dnd(control: Control) -> void## Removes drag-and-drop capabilities from the [param control]. Note: It's currently not possible to "unset" drag forwarding configured through [method Control.set_drag_forwarding]. This means that the [param control]'s own [method Control._get_drag_data], [method Control._can_drop_data], and [method Control._drop_data] methods won't be invoked even after calling this method.func remove_dnd(control: Control) -> voidfunc force_drag(control: Controlat_position: Vector2data: GGDragonDropData) -> void## Retrieves an instance of the [GGDragonHelper] singleton or null, if the helper class cannot be found.func get_helper() -> GGDragonHelper