Tv WaitButton

From TVPaintWiki
Revision as of 19:42, 21 December 2009 by KenC (Talk | contribs) (original)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<<<George<<<Command Reference<<<<George Commands Interface


  tv_WaitButton

Waits for a mouse button action . This action may be pressing or releasing a button. This command returns the action, x and y information. action is a value between 1 and 4 that describes the action :

  • 1 the left button was pressed,
  • 2 the left button was released,
  • 3 the right button was pressed,
  • 4 the right button was released.

x and y are the coordinates of the mouse pointer at the moment that the action takes place.