turtle ~master (2021-08-23T10:45:39Z)
Dub
Repo
TurtleGame.mousePressed
turtle
game
TurtleGame
Callback function triggered when a mouse button is pressed.
class
TurtleGame
void
mousePressed
(
float
x
,
float
y
,
MouseButton
button
,
int
repeat
)
Meta
Source
See Implementation
turtle
game
TurtleGame
functions
canvas
draw
elapsedTime
exitGame
framebuffer
keyboard
load
mouse
mouseMoved
mousePressed
mouseReleased
mouseWheel
resized
root
setBackgroundColor
setTitle
update
windowHeight
windowWidth
Callback function triggered when a mouse button is pressed.