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. This property must be enabled before PLAYER_LOGIN fires in order for a previously saved frame position to be applied.
For simple automatic frame dragging behavior, see Frame:CreateTitleRegion().
Signature:
Frame:SetMovable(enable)
Arguments:
enable- True to allow the frame to be moved by the user; false to disable (boolean)