Runes of Magic Wiki
Advertisement

Tells the game engine to start moving the frame according to the mouse movement.

MyFrame:StartMoving( anchor );

Parameters[ | ]

Arguments[ | ]

anchor
string - Anchor to move from (this appears to be optional)
Valid values are
  • TOPLEFT
  • TOP
  • TOPRIGHT
  • LEFT
  • CENTER
  • RIGHT
  • BOTTOMLEFT
  • BOTTOM
  • BOTTOMRIGHT

Returns[ | ]

None

Example[ | ]

frame:StartMoving();

Notes[ | ]

The anchor parameter may be redundant. Both variants have been seen in the standard RoM UI code, though calls with no parameter is more commonly seen.

Advertisement