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

Register an event that runs when the canvas resizes.

since

kaplay logo

Misc