Animating a List of Arbitrary Length of Objects #2909
Answered
by
kjlubick
SuperUser-Vermeylen
asked this question in
Q&A
-
I stole the code from the this post.
How can I animate objects in a list without specifying the animation for each one? Here's what I must do for 5 objects:
|
Beta Was this translation helpful? Give feedback.
Answered by
kjlubick
Aug 2, 2022
Replies: 1 comment 1 reply
-
You can use the Python * aka unpack operator for
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SuperUser-Vermeylen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the Python * aka unpack operator for
self.play
(I see you already use it inGroup
). There is an additional example in theTransformPathArc
docs.