I set a Sequence node for each button, so when the button Is Hovered , if true I set it to the hand and false with default. But sadly this only works with 1 button.
When I use the “Then 1” in the Sequence node it stops working.
I added a Set Color and Opacity just for testing if it worked and it works fine even if I add several branches to the Sequence node.
Sorry for bumping but sadly Im still having this issue.
I tried Multigate, Sequence and Event on Mouse Enter. None of them worked fine and the cursor is still the default arrow from Windows.
I guess it is a bug, tested myself. I’m working on Mobile so the cursor never really was my issue. Meanwhile, maybe you can use the below inside your widget BP, tested it on my side using the TopDown template. Might be a better alternative as it not uses the Event Tick node.
But this cursor change on hover/away state will be applied to all elements inside the widget - text/images etc.
Thanks for answering
I tried that method before, its useful specially ingame but inside a widget it applies to all the screen as you’ve said. As long as I know it can’t be attached to a single button.
I wanted to highlight urls and interactable objects in the widget, like the ones in a point and click adventure. Guess I have to try another method
Since I uploaded the method this far, guess I’ll upload the rest, perhaps it may help you to come up with something that might be working for your project.
I created a BP called InteractiveObjectMaster which I can use to create child of interactive object in world. this master BP has widget component set to not-visible in game. For the purpose of editing, it is set to visible from the screenshot.
One little thing, the Hover function worked in the MainMenu widget BP, but when I enter to the Options menu and create another Hover function, it stops working. It only works in the first one. Do you know the reason?
*Edit
Ok I know the reason, its the typical issue where you have to click onscreen twice and then the cursor shows fine.
It works just for the first widget but when you press a button - remove widget 1 from parent and create widget 2 it loses the focus.
I mean, mouse is over widget 2 (Set input mode game and UI node), you can click buttons just with 1 click but you have to double click for getting the right cursor over buttons. Strange
Is there any way for focusing the mouse into the widget? Apart from using Set input mode. Maybe adding a node with an autoclick.