pebaX
The current horizontal position of the mouse cursor over the canvas.
Updates automatically every frame. Combine with pebaY to track the mouse position.
Syntax
Section titled “Syntax”pebaXExamples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
}
tiro tshwantsha() {
bokamorago(220);
kgolokwe(pebaX, 200, 50);
}