level
The level being played.
level.title
The level's title.
level.author
Who made the level.
level.length
How long the level is, in beats.
level.bpm
The song's beats a minute.
level.song
The song's name.
level.artist
Who made the song.
level.win
level.win()The level is completed, right now.
level.fail
level.fail()The run fails, right now.
level.checkpoint
level.checkpoint()A checkpoint where the cube is: after a fail the player carries on from here, with everything as it is now.
level.onBeat
level.onBeat(beat, f)Runs a function when the song gets to a beat.
level.step
An event that happens at every step of the level, 48 times a beat, with the seconds since the last one.
level.beat
An event that happens on every beat of the song, with the beat's number.