How to change the direction of rotation mask of animatonplayer??

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By amaou310

I am using an animationplayer to make a cutout animation for my enemy attack. The problem Im facing is that I cannot make a sprite to rotate in the direction I want. Is there any way to change a direction of the rotate mask of the animation player?

Can you scale the sprite’s x to -1 in code?

Bernard Cloutier | 2022-08-08 14:24

My rotation degree value was somehow negative. That was why. Thanks for an advice

amaou310 | 2022-08-09 08:05