Masking Line Renderer

Hi,

Is there a way to mask the line renderer (Invisible inside the mask). There is a “mask interaction” option on line renderer menu, how can i use this? I can’t find any solutions online.
I am using the line renderer to draw a line between the player and another game object. I want to give a little bit of gap between object transform positions and line renderer. I think this would be achieved by masking the line renderer around the object.

just add that offset to the first (0) position

Here’s with mask if you want to go that way