Hi people, I have a char with 4 animations (look up\left\right\down). i need to switch between animations, depending on mouse position on click.
That example of what i need:
i know one method, with sprites for each direction and check if clicked to switch. But i need another method, based on mouse click X&Y only