Links |
---|
Registers the widget for dragging with a mouse button.
frame:RegisterForDrag ([button1, button2, ...])
Arguments
- button1, button2, ...
- string? - "LeftButton", "RightButton", "MiddleButton", "Button4", "Button5", ..., "ButtonN".
Details
- Pass multiple arguments to register several buttons, or none to remove any previous registrations.
- Subsequent calls replace any prior ones.
- Enables OnDragStart and OnDragStop.
- Blocks OnMouseUp and OnClick when dragging with a registered button.