Player animations

I am once again asking for game support… I have an player sprite that is moving towards touch and i am struggling to impliment 8 way movement animations (i have calculated the degrees in whitch the sprite needs to change the annimation according to its angle of movement) but i cannot get it working. please somone what can i do about it?

Do you try with the Behavior? Top-Down Movement behavior [GDevelop wiki]

@UlisesFreitas I am able to move the sprite but i want to animate it… The movement is done by touch but i cant make the animations

I’m not sure that “angle of displacement” is compatible with the behavior you’re using.
You can display it in a text object to check.

Try the angle expression Expressions reference [GDevelop wiki]