rocinantealpha

reference / input

mouse

Where the mouse is in the window: mouse.x and mouse.y.

draw [  background 240  circle at mouse radius 30 fill tomato]
what it draws: the whole window, 400 by 300
What the example of mouse draws

What it is

A vector of 2 numbers, read anywhere in a sketch, never set.

Related