Switching and selecting Widgetbuttons with mousewheel


I have a widget with a scrollbox and try to switch between buttons.

The scrollbox should not scroll when I move the mousewheel, but switch between the buttons.

The ui mode is set to “game”, the player can move freely but should be able to choose between the buttons with the mousewheel and confirm the selectioon with the middle mouse button.

how can I achieve this?


Why is the mode set to Game only i stead of Game and UI?

If you find or store a reference to the widget in your playercontroller OR register the widget to Listen for Input Event OR register the widget to handle dispatched Events from the expected playercontroller, then you can pass function calls to the widget as a consequence of the playercontroller receiving input events, without actually having the widget receive the input events in the normal way.