How to highlight other visible pawns on screen in hud?

I’m making a game where you’re flying around in space in a third person view. I have a crosshair used for aiming that simply points at the center of the screen, but I’d like to add an indicator on each enemy pawn that comes into view on the players screen. You can almost think of it like the “lock on” mechanisms in flight sims. Ideally, I could animate this, so a large box would then shrink in to highlight the other players, giving a stronger visual indicator.

So long story short: what’s the best way to draw a box tracking all the other pawns on your screen? And for this box to disappear or change as your distance to the pawn changes?

I was thinking there would be a “get list of all characters on screen” node, and maybe I could hook that into the HUD tick function to draw a square around each of the character coordinates found, but there does not seem to be such a node.