s&box docs

public class Editor.Widget.DragEvent

Information about a widget drag and drop event.

Constructors

Showing 1 constructors

public DragEvent()

Properties

Showing 7 properties

public Editor.DropAction Editor.Widget.DragEvent.Action { get; set; }

Set this to what action will be (or was) performed.

public Editor.DragData Editor.Widget.DragEvent.Data { get; set; }

The drag data.

public bool Editor.Widget.DragEvent.HasAlt { get; set; }

Whether `Alt` key was being held down at the time of the event.

public bool Editor.Widget.DragEvent.HasCtrl { get; set; }

Whether `Control` key was being held down at the time of the event.

public bool Editor.Widget.DragEvent.HasShift { get; set; }

Whether `Shift` key was being held down at the time of the event.

public Vector2 Editor.Widget.DragEvent.LocalPosition { get; set; }

Cursor position, local to this widget.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.Widget.DragEvent

On this page