Skip to content

AnimationGroup with negative z_index #3334

Open
@nubDotDev

Description

@nubDotDev

Description of bug / unexpected behavior

When an AnimationGroup acts on a Mobject with a negative z_index, the animation doesn't actually play.

Expected behavior

Ideally, using an AnimationGroup should work. It did with a previous stable version so this must be a recent bug.

How to reproduce the issue

Code for reproducing the problem
class Test(Scene):
    def construct(self):
        s = Square().set_z_index(-1)
        self.play(GrowFromCenter(s)) # Works great
        self.wait()
        self.play(AnimationGroup(GrowFromCenter(s))) # Doesn't work
        self.wait()

Additional media files

Images/GIFs

Test_ManimCE_v0 17 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions