Widget API: Frame:IsUserPlaced

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API Frame IsUserPlaced to API Frame IsUserPlaced without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.