I cannot flip my character with his animations

How do i flip my character in GDevelop?

What is the expected result

I want to have my character to walk, run and jump and flipping.

What is the actual result

But my character only plays his animations in right side.

Related screenshots

Hello, WARVISE

It’s because you are checking the horizontal speed of Sonic with just positive numbers:

When Sonic goes to left your speed go to negative numbers. Look that example:


sonic

I just changed the part of your code referring to the animations here and it’s working for me:

Hello @WARVISE ,
I suggest you to use this extension:

You can check how to use it opening the platform example.

Bye,
J