Sets whether the frame can be moved by the user. Enabling this property does not automatically implement behaviors allowing the frame to be dragged by the user -- such behavior must be implemented in the frame's mouse script handlers. If this property is not enabled, Frame:StartMoving() causes a Lua error.
For simple automatic frame dragging behavior, see Frame:CreateTitleRegion().
Signature:
Code
Frame:SetMovable(enable)
Arguments:
enable - True to allow the frame to be moved by the user; false to disable (boolean)