onResize(action: ()=>void): void

Register an event that runs when the canvas resizes.

sincev3000.0

kaplay logo