Widget API: Frame:IsUserPlaced

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.