It is a bit different in this case,Player moves to direction of mouse(reticule) in an iso (8 direction) way

I tried adding a variable direction starting with right, and then if he is facing down, left, up etc change the attack animation but couldn't figure out how to tell(construct2) if the player is actually facing each direction as it is not a platformer(platform behavior not used)