Determine which actor's direction i'm facing

It would look like this:

Though, you should definitely precompute the 4 values and store them in variables instead of calculating them each time you run this.