Skip to content

pebaY

The current vertical position of the mouse cursor over the canvas.

Updates automatically every frame. Combine with pebaX to track the mouse position.

pebaY
A circle that follows the mouse
tiro setaLoeto() {
  thalaKanefase(400, 400);
}
tiro tshwantsha() {
  bokamorago(220);
  kgolokwe(pebaX, pebaY, 50);
}

pebaX, konopoYaPeba