Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement
StartMoving -Documentation by AeroBrain-

Moves the frame-based object in relation to where the mouse is being moved.

obj:StartMoving();

Arguments
nil

Returns
nil

Example
myAddonFrame:StartMoving();
Result
The frame named 'myAddonFrame' would start to move in relation to where the mouse is being moved.

Description
Moves the frame-based object in relation to where the mouse is being moved.
Use this with the RegisterForDrag() function to allow your frame-based object to be moved by the user.
Use the StopMovingOrSizing() function inside the <OnDragStop>...</OnDragStop> XML section to stop the moving process.
Advertisement