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

Change 10 to -10 for actor from left side.