Frame:IsUserPlaced

From Warcraft Wiki
Jump to navigation Jump to search

Returns whether the frame has been moved by the user.

isUserPlaced = Frame:IsUserPlaced()

Returns

isUserPlaced
boolean - True if the frame is flagged as user-positioned (either due to Frame:StartMoving, Frame:SetUserPlaced, or the layout cache), false otherwise.

Details

  • The position of named, movable, user-positioned frames is stored in the layout cache and is restored before PLAYER_LOGIN fires.