Collision with drawn lines

Hello, I was wondering is there any way to detect collision with a drawn line using the shape painter? I have these lines I have made and need to change a variable anytime they are touched.

Hi,
whatever you draw with the shape painter has no collision. As a quick idea and in case you have just a few straight lines in your scene, you could use a raycast for checking if something is ‘colliding’ with them.