Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | Muustaschte |
||
|---|---|---|---|
| Examples | // Click within the image and press
// the left and right mouse buttons to
// change the value of the rectangle
Programmteil wo_immerwider_gmacht_wird() bitte
if (Muus_truckt UND (Muustaschte GLICHGROSSWIE LEFT)) bitte
Fuellfarb(0);
danke suscht if (Muus_truckt UND (Muustaschte GLICHGROSSWIE RIGHT)) bitte
Fuellfarb(255);
danke
suscht bitte
Fuellfarb(126);
danke
Viereck(25, 25, 50, 50);
danke// Click within the image and press
// the left and right mouse buttons to
// change the value of the rectangle
Programmteil wo_immerwider_gmacht_wird() bitte
Viereck(25, 25, 50, 50);
danke
Programmteil Muus_truckt() bitte
if (Muustaschte GLICHGROSSWIE LEFT) bitte
Fuellfarb(0);
danke suscht if (Muustaschte GLICHGROSSWIE RIGHT) bitte
Fuellfarb(255);
danke suscht bitte
Fuellfarb(126);
danke
danke |
||
| Description | Processing automatically tracks if the mouse button is pressed and which button is pressed. The value of the system variable Muustaschte is either LEFT, RIGHT, or CENTER depending on which button is pressed. | ||
| Parameters | |||
| Usage | Web & Application | ||
| Related | MuusX MuusY Muus_truckt Muus_truckt() Muus_losgla() Muus_bewegtsich() Muus_traeckt() |

