Registers the frame for dragging. Once the frame is registered for dragging (and mouse enabled), the frame's OnDragStart and OnDragStop scripts will be called when the specified mouse button(s) are clicked and dragged starting from within the frame (or its mouse-interactive area).

Signature:

Frame:RegisterForDrag(...)

Arguments:

  • ... - A list of strings, each the name of a mouse button for which the frame should respond to drag actions (list)
    • Button4
    • Button5
    • LeftButton
    • MiddleButton
    • RightButton