No hover events for GUI widgets during button press?
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.
asked Sep 27 '18 at 02:50 PM in C++ Programming
This seems more like a workaround than a clean solution to me, but it helps to set a GameAndUI input mode on the player controller right after the press-event to cancel the GUI being completely ignored. If someone has a better fix...
answered Sep 29 '18 at 05:10 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here