Wowpedia

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

READ MORE

Wowpedia
Advertisement

Begins repositioning the frame via mouse movement.

Frame:StartMoving([alwaysStartFromMouse])

Arguments[]

alwaysStartFromMouse
boolean? = false

Details[]

  • This function triggers an error "Frame:StartMoving(): Frame is not movable" if called on a non-movable widget.
  • This function automatically flags the widget as user-positioned. The position of named, movable, user-positioned frames created before PLAYER_LOGIN is automatically restored by the client from the layout cache when the player logs in. If you'd like to avoid this behavior, call Frame:SetUserPlaced(false) immediately after calling this function.
  • Any existing anchors on the widget are cleared. When the frame stops moving (either because Frame:StopMovingOrSizing() was called or because the frame or one of its ancestors was hidden), it will be anchored to the nearest corner of the screen.

See also[]

Advertisement