Create animation trought a scene

How can I create an animation thought the switching of a gdevelop scene?

When your switch scenes, use the condition at the beginning of the scene in your next scene to play the animation.