Api Sandbox UI DragEvent
class

DragEvent

public class DragEvent : PanelEvent

Fields

Name Type Description
MouseDelta Vector2 For ondrag event - the delta of the mouse movement
LocalGrabPosition Vector2 The position on the Target panel where the drag started
ScreenGrabPosition Vector2 The position relative to the screen where the drag started
LocalPosition Vector2 The current mouse position relative to target
ScreenPosition Vector2 The current position relative to the screen
Assembly: Sandbox.Engine Namespace: Sandbox.UI Full Name: Sandbox.UI.DragEvent