How does one draw a selection rectangle in world space rather than on the HUD?

Look at this post:

I showed how to draw a rectangle in world space with the mouse.
Also, it contains an example ue5 project.

My Products