UMG - mouse over / mouse off
I'm trying to implement a system in a strategy game where you can mouse over either a character or a UI element to cause an information panel to appear on the screen. Then when you're no longer hovering over the character or the UI element, the information panel disappears. This is pretty easy for the character side of things, as I can just use the OnBeginCursorOver and OnEndCursorOver events to turn the information panel on and off.
However, I'm not so clear on how to do this for a UMG user widget. I know that borders have a OnMouseMove event, but I don't think that that can be used to detect when the cursor leaves the border's space. There is also a "IsHovered" node present for user widgets, but I think that only really works for buttons.
What is the recommended way to handle detecting whether or not the cursor is currently hovering over a UI element?
asked Feb 13 '15 at 12:47 AM in Blueprint Scripting
Something like this might get you started.
answered May 30 '15 at 11:24 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here