manim.animation.animation.Wait

class Wait(mobject=None, *args, use_override=True, **kwargs)[source]

Bases: manim.animation.animation.Animation

Methods

begin

Begin the animation.

clean_up_from_scene

Clean up the Scene after finishing the animation.

finish

Finish the animation.

interpolate

Set the animation progress.

update_mobjects

Updates things like starting_mobject, and (for Transforms) target_mobject.

Parameters
begin()[source]

Begin the animation.

This method is called right as an animation is being played. As much initialization as possible, especially any mobject copying, should live in this method.

Return type

None

clean_up_from_scene(scene)[source]

Clean up the Scene after finishing the animation.

This includes to remove() the Animation’s Mobject if the animation is a remover.

Parameters

scene (Scene) – The scene the animation should be cleaned up from.

Return type

None

finish()[source]

Finish the animation.

This method gets called when the animation is over.

Return type

None

interpolate(alpha)[source]

Set the animation progress.

This method gets called for every frame during an animation.

Parameters

alpha (float) – The relative time to set the aniamtion to, 0 meaning the start, 1 meaning the end.

Return type

None

update_mobjects(dt)[source]

Updates things like starting_mobject, and (for Transforms) target_mobject. Note, since typically (always?) self.mobject will have its updating suspended during the animation, this will do nothing to self.mobject.

Parameters

dt (float) –

Return type

None