Tv WaitButton

From TVPaintWiki
Jump to: navigation, search

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


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.