I used godot and in godot they provide Line2d node which lets u create lines ! so I used that and thanks for playing :D