a widget button OnClicked event can be triggered by mouse, keyboard, or gamepad. is it possible to know how the event was triggered?
hi and thank you for your reply. unfortunately the widget OnPressed event is missing that blue pin.
I don’t know if this will work on widget but you can try something like this to get the name of button or do a branch to check if it was specific controller:
And the result:
Well, yeah, i just checked it, and i couldn’t do it in widget.
If it is important maybe place some invisible object (actor) on top of the button, so when player pushes the button, he actually clicks on the object and you can get the name of the controller using On clicked from that actor.