Skip to content

AnimationGroup with an introducer doesn't work when the mobject is already in the scene #3039

Open
@sudgy

Description

@sudgy

Consider the following scene:

class Test(Scene):
    def construct(self):
        a = MathTex("a")
        self.add(a)
        self.play(AnimationGroup(Write(a)))
        self.wait()

When run, instead of writing "a" like I would expect, the Write doesn't happen at all and the screen is blank for the first second. Making it not in an AnimationGroup fixes it, manually setting introducer to False fixes it, and removing self.add(a) fixes it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue:bugSomething isn't working... For use in issues

    Type

    No type

    Projects

    Status

    🆕 New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions