Widget API: Frame:IsUserPlaced

From AddOn Studio
Jump to navigation Jump to search

Widget API ← Frame < IsUserPlaced

Returns whether the frame has been moved by the user.

userPlaced = Frame:IsUserPlaced()

Parameters[edit]

Returns[edit]

userPlaced
Boolean - true if the user moved the frame (i.e. Frame:SetUserPlaced(true) was called earlier)

Details[edit]

Does not work on frames that were created by CreateFrame.