I am making a targeting system for an RPG. I want to be able to test whether the player character's sprite is within certain angles of the target. For example, if the player character is within the cone of 35 to 145 degrees of their target, I want them to face "up", and if the player character is within the cone of 136 to 225 degrees, I want them to face "right" etc. I just can't figure out how construct wants me to write that code. Any help would be appreciated.
P.S. I don't want to rotate the sprite to face that target. I just am working with up, right, left, and down.