from manim import *
import numpy as np
class MobjectZOrder(Scene):
    def construct(self):
        circle = Circle().shift(LEFT)
        square = Square().shift(UP)
        triangle = Triangle().shift(RIGHT)
        circle.set_stroke(color=GREEN, width=20)
        square.set_fill(YELLOW, opacity=1.0)
        triangle.set_fill(PINK, opacity=0.5)
        self.play(*[FadeIn(_o) for _o in [triangle, square, circle]], run_time=1.0)
        self.wait(1)
        self.wait(3.60)