ControlForceDrag Method |
Forces drag and bypasses GetDragData(Vector2) and SetDragPreview(Control) by passing data and preview. Drag will start even if the mouse is neither over nor pressed on this control.
The methods CanDropData(Vector2, Object) and DropData(Vector2, Object) must be implemented on controls that want to receive drop data.
Namespace: Godot
public void ForceDrag( Object data, Control preview )
[Missing <param name="data"/> documentation for "M:Godot.Control.ForceDrag(System.Object,Godot.Control)"]
[Missing <param name="preview"/> documentation for "M:Godot.Control.ForceDrag(System.Object,Godot.Control)"]