Confining the player to the screen space?

I’ve hit a bit of a brick wall trying to figure this out. I’m trying to limit the player characters to the screen space, and have been playing with the ConvertWorldLocationToScreenLocation and clamp nodes to try and achieve this. The closest I’ve gotten is the player slows down when reaching the bottom of the screen and stops, then takes their time to get back up to speed as they come closer to the center of the screen.

I’m using the third person character blueprint as a template, and it’s to be used for a local multiplayer game. I want to limit the characters to the screen so they can’t be left behind/lose each other.

Can anyone help give me some more insight on how to achieve this? I’ve gone through other threads in the answer hub to try and work it out myself from them first, but it hasn’t worked for me thus far. Thanks!

Do you want the camera to be fixed in place or move around with both players? Maybe zoom out when they get further appart and zoom in when they get closer?

ConvertWorldLocationToScreenLocation return also a boolean for success / fail.
You should check it. In case of fail the results may be unpredicatable

I already have that working between all players, but to stop it zooming out infinitely the spring arm is clamped to a certain distance, and that is when players are able to disappear off-screen and get lost.