Possessing a Pawn from Widget BluePrint

I have 3 pawns. Each Pawn has its own hud ( Blueprint Widget) with several buttons.

What i need to do is to switch among them.
Actually, this is workin with key inputs, but i need widget buttons too for mobile touch control.

So, when in current pawn, i need to touch a button in widget/Hud to possess other pawn.
Sounds like easy, but i dont know how to reference other pawn from inside a Widget BP.

Any help?

Thanks in advance.

So pretty much how ever you are already triggering the swap with key input, you need to do the same through the widget. Well you can have public variables on the widget to store the pawns that it can switch to and just do the logic there. So when you create the widget you can assign it the appropriate pawn references, then on a button being click just use the correct controller and possess over to it. If this does or doesn’t work, by all means let me know, maybe I can help you further.

I Will follow your sugestion.
Thanks for your fast response!

That worked. Thank you!
Sorry for the late response.