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