konopoYaPeeba
True while a mouse button is being held down, false otherwise.
Use inside tshwantsha to react to the user holding the mouse button — for example, to draw only while clicking.
Syntax
Section titled “Syntax”konopoYaPeebaExamples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
}
tiro tshwantsha() {
fa (konopoYaPeeba) {
sefofane(255, 0, 0);
} ha {
sefofane(220);
}
}