Hello guys, so I’m trying to do something in my inventory, a way to assign items to a hot bar but was halted by, what it seems, a bug in Unreal widgets.
So the button logic for this is the following
When “1” is pressed, it checks if the slot is being hovered (tried targeting the button itself, but it doesn’t work either) and if it is, it prints “Hovered” if not “NOT Hovered”
That tick is there just to update a debug text on the slot with the hovered status.
Weird thing is that besides the text reacting normally (changing to “True”) when the button IS hovered, the “Is Hovered” function always returns false.
My guess is when I press “1” on the keyboard the button gets “Un-hovered” for just a frame so it doesn’t even show on the text.
The weird part is that it always returns false on every slot except for one. (watch on the video)
This sounds like a bug, but I’m not sure. It could be the keyboard “steeling” focus from the mouse just as the code runs!!!
Here’s a video that shows the problem
Thanks in advance!