Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Function Hooks

Kade M edited this page Aug 22, 2021 · 3 revisions

You can use each by just doing

function name(arguments)

end
Name Arguments Description
start Song Name Gets called when modchart loads
update Elapsed frames Gets called every frame (after the song starts)
stepHit Current Step Gets called when ever a step hits (steps are in between beats, aka 4 steps are in a beat)
beatHit Current Beat Gets called when ever a beat hits
keyPressed Key Pressed Gets called when a key just got pressed (up, down, left, right, accept)
songStart None Gets called when the song starts
Clone this wiki locally