Widget API: Frame:IsUserPlaced

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)

Widget API ← Frame < IsUserPlaced

Returns whether the frame has been moved by the user.

userPlaced = Frame:IsUserPlaced()

ParametersEdit

ReturnsEdit

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

DetailsEdit

Does not work on frames that were created by CreateFrame.