Adds the passed mobjects to the scene again, pushing them to he front of the scene. Parameters ---------- *mobjects The mobject(s) to bring to the front of the scene. Returns ------ Scene The Scene, with the m
(self, *mobjects: Mobject)
| 830 | return self.remove_foreground_mobjects(mobject) |
| 831 | |
| 832 | def bring_to_front(self, *mobjects: Mobject) -> Scene: |
| 833 | """ |
| 834 | Adds the passed mobjects to the scene again, |
| 835 | pushing them to he front of the scene. |
| 836 | |
| 837 | Parameters |
| 838 | ---------- |
| 839 | *mobjects |
| 840 | The mobject(s) to bring to the front of the scene. |
| 841 | |
| 842 | Returns |
| 843 | ------ |
| 844 | Scene |
| 845 | The Scene, with the mobjects brought to the front |
| 846 | of the scene. |
| 847 | """ |
| 848 | self.add(*mobjects) |
| 849 | return self |
| 850 | |
| 851 | def bring_to_back(self, *mobjects: Mobject) -> Scene: |
| 852 | """ |