So as the title says, I want to play attack animations based on a mouse click and the direction that the mouse is moving.
So the left mouse button gets clicked and the attack start animation gets played which is pretty much the character holding the sword back.
Then the left mouse button gets released and the attack end animation gets played which is the character swinging the weapon.
Then animation that gets played depends on which way the mouse gets moved.
Here’s a badly drawn diagram of what I’m trying to accomplish:
This is my blue print so far:
As you can see I have only one attack set on clicking and releasing so far because I’m not sure how to implement the movement of the mouse.
So if the the mouse is clicked and moves right then I want the character to start the swing from right animation, then once the mouse click is released it plays the attack end animation.