How can I play an animation with direction?

I want to play an effect animation that with same direction with player
how can I do this?
You create 4 animations, 1 for each direction and show the correct one determind by conditional branches.
or
You just use 1 animation, Teleport an empty Event 1 Maptile infront of the Player and than execute the animation on that Event.

Maybe there are other Ways...
As @Bex recommended, I generally create 4 different animations when I have to do this (and I try having to do this too often, lol), and then run a Conditional Branch on the Player's current direction (it's on Page 3 of the Conditional Branch event command) and show one of the 4 different animations based on which Conditional Branch is satisfied (aka which direction the player is facing).

His other solution of teleporting the empty event will only work if the animation looks the same from every angle (e.g. it might work very well for an explosion, but won't work for a sword swing).
thank you for replying!
I don't know the player facing can be detected in the conditional branch
It should be, and if not than you could use Eventcommmand Control Variable and Set a Variable to Player Direction, than use that in the conditional branch. (Numbers for directions would be 2 = down, 4 = left, 6 = right, 8 = up)

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-play-an-animation-with-direction.111160/