Have a line renderer appear over a sprite?

Hi. Is it possible to have a have a line renderer appear over a sprite? Whenever I try to use a sprite as a background, the line renderer is always covered up. Thanks.

Sprite (2D) and Line Renderer (3D) don’t really play well by default. You will need to (as a workaround, this is what I did) move the line renderer in front of the Sprite on the Z axis (assuming a 2D game here, since you are using Sprites).

There is no sorting layer to affect for the 3D Line Renderer, so it must be manually placed in front of the 2D object.