| bang |
|
Sends out the current horizontal and vertical coordinates of the location of the mouse, as well as the change in location since the last output. |
| nopoll |
|
Undoes a poll message, reverting mousestate to its normal condition of waiting for a bang before reporting. |
| mode |
coordinate-reference (0 through 2) [int] |
The word mode, followed by a long value specifices the type of reference to use for the mouse coordinates from the second and third outlets. A value of 0 specifies to use screen-relative coordinates where 0,0 is the top left corner of the primary display. A value of 1 specifies patcher-relative coordinates where 0,0 is the top left corner of the content area of the mousestate object's patcher. A value of 2 specifies front-most patcher relative coordinates where 0,0 is the top left corner of the content area of the top patcher window. |
| poll |
window-label [symbol] |
Causes mousestate to send out the mouse location, and the change in mouse location, whenever the mouse is moved, as well as when a bang is received. If poll is followed by the name of a graphics window, the coordinates returned by mousestate will be local to the graphics window, and only sent while the graphics window is visible. |
| reset |
|
Resets the 0,0 point to its default setting, in the upper left corner of the screen. |
| zero |
|
Resets the point mousestate considers as the 0,0 point from which to measure the mouse location. The current location of the mouse is considered the new 0,0 point. |