Oh, this should not be used for movement. This only tells you the direction relative to where the player is facing. Normally you’d use it to calculate the angle. I thought that’s what you were asking here:
figure out some math to check if player is looking either east or west
The West East and so on would depend how things are set up. In case of the template, it’d look like this: