How can I get the Player Controller out of a Pawn?

Playerwhoshot is a Pawn reference.

I want to connect Playerwhoshot to the targets of both “Get Viewport Size” and ConvertScreenLocationToWorldSpace".
How can I do this?

https://answers.unrealengine.com/questions/532080/after-casting-to-a-player-controller-from-the-serv.html

Use the GetController node

117230-getcontroller.png

the target would be your Playerwhoshot variable, this returns a controller object so you might want to cast it to your own player controller class or the default playercontroller class if you are not using a custom one.