ManimCommunity / ManimCommunity/manim
Ability to bring mobject to back or front on scene while its animation.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
In rare cases it may be useful to bring objects to front/back on scene in the middle of animation (or any time from 0 to run_time). For example, I want to be red line always be in front in illustration below. So I have to bring one of lines to back
Right now we can only remove object by the end of its animation. What do you think? How it is better to implement? Is it possible to make custom animation and pass scene instance to it and just call scene.bring_to back(self.mobject) or we have to implement it in Scene class?

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Scene and custom Animation entry points mentioned in the issue, focusing on how mobjects are ordered during an animation. Define how bringing a mobject to the front or back during any part of run_time should behave, then verify that the ordering changes while the animation is still running.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100