Spite is not behaving 🤔

Following this gdev tutorial:

I set up enemy with collision detection to move in opposite direction when point touches platform sprite. But the sprite moves to platform sprite and becomes frozen and will not flip the opposite direction.

Before proceeding, please use the forum [search feature]has already been answered.

How do I…

A clear and concise description of what you are trying to do.

What is the expected result

Explain what should happen when you run the game.

What is the actual result

Explain what is happening instead, what is going wrong.

Related screenshots

Please include a screenshot of the full related events including both conditions and actions.
And screenshots to help showing us the issue.

Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.

Could you please share the part of your code where you’re encountering the issue? That would really help in identifying the problem more quickly. Thanks!