How to make KinematicBody2D interact With Line 2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GDnoob

In my scene, There Is A Player(KinematicBody2D) Which Is A Ball, And A Line2D.

I made it so when I Click Left Mouse Button, Line2D will have a new point, And My Question Is How To Let The Ball “Bounce” On