MCPcopy
hub / github.com/ManimCommunity/manim / bring_to_front

Method bring_to_front

manim/scene/scene.py:832–849  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers 1

add_unit_squareMethod · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected