premium banner
Library for tracking mouse gestures

Description

LibMouseGestures is a library for tracking and using mouse gestures through a transparent overlay frame. LibMouseGestures can be used for a lot of things, including:

  • Capturing gestures from a frame
  • Capturing gestures without locking player movement
  • Selecting a range on the screen (think unit selection in Warcraft 1/2/3, StarCraft or C&C)
  • Drawing on a frame
  • Marking boundaries using the mouse

See the LibMouseGestures-1.0 API for further documentation. If you want to try out how LibMouseGestures work, you can download the library as a stand-alone addon and use /mgtest to capture a single mouse gesture and have the results displayed to you.