Mouse wheel event on GUI?

Hi there,
is it possible to catch mouse wheel event on a GUI inputTextBlock?
The goal is to decrement/increment a value simply scrolling the mouse wheel. It seems to me that this event can be catched only on the scene not on the GUI.

Thank’s in advance

You may use onFocusObservable and onBlurObservable, adding and removing wheel event accordingly.
Example - https://playground.babylonjs.com/#UWS0TS#356

1 Like

Great!! Thank’s so much :pray:

1 Like