system(name: string, cb: ()=>void, when: LCEvents[]): void

Runs a system at the specified events in the pipeline

paramnameThe name of the system. Overwrites an existing system if the name has been used before.

paramcbThe function to run.

paramwhenWhen to run the function.

sincev4000.0

kaplay logo

Misc

Layer