Draw Debugger

Hi, I just started using Unreal Engine not too long ago and I’m just building random stuff. I’m trying to draw a rectangle that contains the player actor bounds and another actor’s bounds. The rectangle should change size to only contain the player and the other actor’s bounds. I would also like to see if I can find the center point of that rectangle. I’ll try to draw it out and I apologize if the drawing isn’t good.

I’ve only heard of debug box but I don’t know how to draw a rectangle and how to make that rectangle appear on the screen at all times. So I was wondering if anyone knows how to make a debug rectangle that appears on the screen (kind of like a HUD) and change it’s size to contain the player and other actor’s bounds. I would also like to know if it’s possible to find the center point of that debug rectangle.

Any help would be great thanks!