Can "Once Forward Animation Group" play backwards from mid-play back to the beginning?

Thanks for the great engine and community.
I’m not good at English. So I’m posting a question using a translator. I apologize in advance for the awkward sentence.

I’m making something like this:
There are 10 sprites representing doors opening. This door detects the player. As the player approaches, the door will begin to open. This means the sprite animation of the door opening will play.
The player character can simply go somewhere else while the door is opening.
Then, even if the door is not fully opened, I want it to close again from the middle.
To do this, I think I’d have to stop the sprite animation in the middle, play it backwards from there, and go back to the beginning.
Is this possible?

Thanks for reading.
I hope you have a nice day.

Here’s how I would do it.

I would get the position of the animation using cursor:

Then, I would trigger a “once_backwards” animation, and set it to start at the cursor position (or (1-cursor), not sure, I would just test either way).

1 Like

Thank you very much for your reply. I will implement it right away using the method and documentation you provided.

1 Like