No hover events for GUI widgets during button press?

MaxPower42
Thu, 27 Sep 2018 14:50:02 +0000
UI

I need to get hover events for my widgets all the time, even when a mouse button is being held down. My PlayerController class’ InputMode is set for Game&GUI. I am working on a system that allows universal input operations, including dragging with a button held down, between any widgets and actors/components. For this, I also need to know when any of these objects start being “hovered” by the cursor.

It works for scene-objects all the time, but for widgets it only works when the button press (being held down) originally occured on some widget, and not in the scene. So, I can drag without problems from widget to widget, widget to scene-object, scene-object to scene object, but scene-object to widget disables all widget hover events.

4 posts - 2 participants