Hi !
I develop a game with friends and i have a problem with a mini game. I want to track the path of the mouse over a list of button (i use the “On hovered” event from them), but i also want to track it only when the player hold the mouse’s left button. But when i hold this button, the mouse disappears and got stuck. I think the problem come from the image widget i use from the background which have a “On mouse button down” event natively. I try to remove it but i didn’t succed
Can someone help me ?
Thanks by advance =)
Ps : Sorry for my bad english, i’m not an english speaker
Neither OnMouseEnter() nor OnHovered() are called for any widget except the one you started the “mouse down” action on. (for me this is a bug however it is so widely spread that this has become the expected behavior now)
However, you can create a DragDropOperation and use UserWidget::OnDragEnter(). You will have to use UserWidgets instead of buttons though.