MOJA_MOTSWI
→ RIGHT_ARROWThe value standing for the right arrow key.
MOJA_MOTSWIYou hand it to taetsiETshwerwe. It is the string 'ArrowRight'.
It is nearly always used beside MOLEMA_MOTSWI to move something sideways:
fa (taetsiETshwerwe(MOJA_MOTSWI)) { x = x + 3; }
MOJA (RIGHT) and MOTSWI (ARROW) are both already in Bopa, so the name is a compound of words the tree already carries.
Examples
Section titled “Examples”diri x = 200;
tiro setaLoeto() {
thalaKanefase(400, 200);
tlhalosa('Sediko se se tsamayang ka fa thoko ka ditaetsi tsa metswi a mabedi. Tobetsa setshwantsho pele.');
}
tiro tshwantsha() {
bokamorago(236);
tlogelaMothalo();
tlatsaMmala(90, 160, 200);
fa (taetsiETshwerwe(MOLEMA_MOTSWI)) { x = x - 3; }
fa (taetsiETshwerwe(MOJA_MOTSWI)) { x = x + 3; }
thalaSediko(thibela(x, 20, 380), 100, 44);
}