WoW:API Frame StartMoving

Revision as of 19:40, 10 December 2004 by WoWWiki>AeroBrain
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 action to allow your frame-based object to be moved by the user.

Template:WoW API