reference / input
pressed
Whether a mouse button is held down in this window.
draw [ background 240 if pressed [ fill tomato ] else [ fill 200 ] circle at 200 150 radius 80]
What it is
True or false, read anywhere in a sketch, never set.
reference / input
pressedWhether a mouse button is held down in this window.
draw [ background 240 if pressed [ fill tomato ] else [ fill 200 ] circle at 200 150 radius 80]
True or false, read anywhere in a sketch, never set.