Skip to content
ExamplesOpen editor ↗

CONTROL

→ CONTROL

The value standing for the Control key — labelled *Ctrl* on most keyboards.

CONTROL

You hand it to taetsiETshwerwe. It is the string 'Control'.

Like SHIFT and ALT, it is a key used with another key, not on its own.

Note that the editor and the browser have CONTROL shortcuts of their own. Pressing CTRL and a letter may do something in your browser before your sketch ever sees it.

The name stays English. Setswana has it two ways — “taetsi ya CTRL” and “taetsi ya taolo” — and in both the key’s own name is left as CTRL. Bopa follows that.

Show while CONTROL is held
tiro setaLoeto() {
  thalaKanefase(400, 200);
  tlhalosa('Sekwere se se fetolang mmala fa taetsi ya CONTROL e tshwerwe. Tobetsa setshwantsho pele.');
}

tiro tshwantsha() {
  bokamorago(238);
  tlogelaMothalo();

  fa (taetsiETshwerwe(CONTROL)) {
    tlatsaMmala(80, 170, 120);
  } gongwe {
    tlatsaMmala(190, 195, 205);
  }

  thalaSekwere(160, 60, 80);
}

SHIFT, ALT, OPTION, taetsiETshwerwe