babylonjs

What to use instead of IWheelEvent.wheelDelta?


According to the docs IWheelEvent.wheelDelta is deprecated.
What should we use instead?


Solution

  • Insted of wheelDelta, we can use -deltaY: IWheelEvent.deltaY