Skip to content

Commit

Permalink
Add comment to Mobject.animate
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Mar 7, 2024
1 parent a6b46c6 commit 3c778ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion manimlib/mobject/mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,13 @@ def set_uniforms(self, uniforms: dict) -> Self:

@property
def animate(self) -> _AnimationBuilder:
# Borrowed from https://github.com/ManimCommunity/manim/
"""
Methods called with Mobject.animate.method() can be passed
into a Scene.play call, as if you were calling
ApplyMethod(mobject.method)
Borrowed from https://github.com/ManimCommunity/manim/
"""
return _AnimationBuilder(self)

@property
Expand Down

0 comments on commit 3c778ba

Please sign in to comment.