pebaESutile
→ mouseMoved()Runs while the mouse moves with no button held down.
tiro pebaESutile() { ... }Declare pebaESutile as a function with tiro. It runs while the mouse moves with no button pressed — while a button is pressed, pebaEGogilwe runs instead.
It is what makes things that respond to the mouse without a click: a button that changes colour under the pointer, or a shadow that trails the cursor.
suta, nottshikinyega. In ordinary Setswanatshikinyegameans to shake. Bopa takessuta— the plain word for moving over — which the language already uses asSUTA, the “this can be moved” cursor.
There is no touchscreen equivalent. A finger does not travel across a screen without touching it, so
pebaESutilebelongs to a computer with a mouse.
Examples
Section titled “Examples”diri bogolo = 40;
tiro setaLoeto() {
thalaKanefase(400, 260);
tlhalosa('Sediko se se mo bogareng se se golang fa peba e le gaufi le sona.');
}
tiro tshwantsha() {
bokamorago(236);
tlogelaMothalo();
tlatsaMmala(90, 160, 210);
thalaSediko(200, 130, bogolo);
}
tiro pebaESutile() {
metlha kgakala = sekgala(pebaX, pebaY, 200, 130);
bogolo = lekanyetsa(thibela(kgakala, 0, 200), 0, 200, 150, 30);
}