# Sandbox.UI.DragEvent

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.UI.PanelEvent](/api/Sandbox.UI.PanelEvent)

## Constructors

- [`DragEvent`](/api/Sandbox.UI.DragEvent/.ctor)

## Fields

- [`LocalGrabPosition`](/api/Sandbox.UI.DragEvent/LocalGrabPosition): The position on the Target panel where the drag started
- [`LocalPosition`](/api/Sandbox.UI.DragEvent/LocalPosition): The current mouse position relative to target
- [`MouseDelta`](/api/Sandbox.UI.DragEvent/MouseDelta): For ondrag event - the delta of the mouse movement
- [`ScreenGrabPosition`](/api/Sandbox.UI.DragEvent/ScreenGrabPosition): The position relative to the screen where the drag started
- [`ScreenPosition`](/api/Sandbox.UI.DragEvent/ScreenPosition): The current position relative to the screen
