Unwrite

Qualified name: manim.animation.creation.Unwrite

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

Bases: manim.animation.creation.Write

Simulate erasing by hand a Text or a VMobject.

Parameters

reverse (bool) – Set True to have the animation start erasing from the last submobject first.

Examples

Example: UnwriteReverseTrue

from manim import *

class UnwriteReverseTrue(Scene):
    def construct(self):
        text = Tex("Alice and Bob").scale(3)
        self.add(text)
        self.play(Unwrite(text))

Example: UnwriteReverseFalse

from manim import *

class UnwriteReverseFalse(Scene):
    def construct(self):
        text = Tex("Alice and Bob").scale(3)
        self.add(text)
        self.play(Unwrite(text, reverse=False))

Methods