How to determine if point located on right or left of the line?

I am creating a 2D game. (Objects in the game can be 3D but everything happens on the XY plane).
There is a set of actors and a ray. Ray is represented by a point and direction vector.

273859-ray.png

I need to find the nearest actor to the left of the ray and nearest actor to the right of the ray.
How it can be done in Blueprint?

Change 10 to -10 for actor from left side.