UI Interaction Line

Hey everyone!

So, I’m wondering how I would achieve to make this sort of “UI?” line from the target object to the player’s torso.
For reference, SCP: Roleplay
image
image

I’m guessing the interaction itself is either a proximity prompt or a custom interaction, but I’m more-so wondering how to make the line appear when you are within a certain distance from that object.

Thanks! <3

1 Like

i feel like (dont quote me on this) it’s a beam object. they probably put an attachment on the user and an attachment on the button and created a beam using those two values to get that effect.

1 Like

I would assume the same, I would also add that it could be using raycasts to check if the user is close enough. It is most likely a custom system.