I have a line drawn by an array of `Vector2`

s. What I would like to do is get a `Vector2`

parallel to a line which is drawn by nearby`Vector2`

s. It would sort of look like this:

So it would be at a right angle to the line formed by P1 and P3. I've been using mixtures of the functions `angle_to()`

and `normalized()`

to try to get the position. But I can't seem to get it.

**Edit**: As per kozaluss' information, I'll try to make things a bit clearer.

P1, P2, and P3 are the points of `Vector2`

s. I'm trying to find the point of a vector (P4) that's based upon the P2's vector point such that it's parallel to a line (the green line) which contains the points of the vectors P3 and P1.

Thank you for the clarification on the origins of the vector. I'll adjust my answer to this new information.