API Frame RegisterForDrag

Registers the widget for dragging with a mouse button. frame:RegisterForDrag ([button1, button2, ...])

Arguments

 * button1, button2, ... : - "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 and.
 * Blocks and  when dragging with a registered button.