How to make a selection using a rectangle

How do I make this square that highlights the object the player is looking at? Here are some examples:

Hey there @nati1ik! You could use a custom 9 slice widget or a border depending on how you want to style it a bit like this example I showed in an older thread.

Border widget:

9 slice (which you may need to setup like the border widget thread mentioned):

1 Like