randi(10) // returns 0 to 9
randi(0, 3) // returns 0, 1, or 2
randi() // returns either 0 or 1
Start
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Timer
Math
Misc
GFX
Draw
Options
Audio
Level
Data
Debug
Plugins
Constants
Button Bindings