ThreeJS: Skip to the latest mousewheel event

Here! I have mouse scroll event where I want to directly skip to the last mouse scroll event. Say…, If I fire 4 mouse scroll event, I want to skip the first 3 fired event and directly skip to the fourth one. The problem is I’m working on it in threejs where I’ll be not having the scroll bar where the debounce technique didn’t work. Since, It has a camera and I’m zooming in / out to the depth the debounce didn’t actually work in that scenario. Here’s the fiddle


Is there any option for that sir @Mugen87

No sorry, this needs a custom solution.

1 Like