Search
(press
s
)
RocRay
Program
PlatformState
KeyboardKey
Rectangle
Vector2
Color
Texture
Sound
Camera
rgba
exit
log
beginDrawing
endDrawing
setWindowTitle
setWindowSize
getScreenSize
setTargetFPS
setDrawFPS
measureText
drawText
drawLine
drawRectangle
drawRectangleGradientV
drawRectangleGradientH
drawCircle
drawCircleGradient
takeScreenshot
createCamera
updateCamera
beginMode2D
endMode2D
loadTexture
drawTextureRec
loadSound
playSound
Keys
KeyboardKey
Keys
down
up
pressed
released
pressedRepeat
anyDown
anyUp
anyPressed
anyReleased
Mouse
ButtonState
Buttons
up
down
pressed
released
Return to Roc packages
Documentation
Mouse
ButtonState
: [ Up, Down, Pressed, Released ]
Buttons
up
: ButtonState -> Bool
down
: ButtonState -> Bool
pressed
: ButtonState -> Bool
released
: ButtonState -> Bool