How to detect Line Renderer Collision with object with collider ?

i have a line renderer that is hand drawing in 2d game and i need to detect if that line is colliding with any object with collider
will it be making a box collider for each point “i have list of points that make the line”

You can try to add a collider to the line and detect regular colliders collisions

replace box collider 2D to Edge collider 2D…
and set mEdgeCollider2D.points = drawlinepoints.ToArray()…
hope its works