onScroll(action: (delta: Vec2)=>void): KEventController

Register an event that runs when mouse wheel scrolled.
// Zoom camera on scroll
onScroll((delta) => {
    const zoom = delta.y / 500
    camScale(camScale().add(zoom))
})

sincev3000.0