How to rotate my raycast direction toward direction i want in code?

Godot Version

4.3

Question

how to rotate all my raycast toward the direction in want to? i know how to put araund me,. but i dont know how make it rotate toward direction i want to.
this how i do for all around me

    for i in num_rays:
        var angle = i * 2 * PI / num_rays
        ray_directions[i] = Vector2.RIGHT.rotated(angle)
        var _new_ray : RayCast2D = RayCast2D.new()
        _new_ray.target_position = Vector2.RIGHT.rotated( angle ) * look_ahead
        add_child( _new_ray)

this what i get
360direct
but i want all my ray rotate to direction to red line i draw
font only

you need to set the target_position to the direction you’d like it to look at