Actually with higher Z-index value, the object should appear closer to the user and with lower value it should appear away from the user. Reason of issue: by default manim handles animation in 2D only.