- Home /
how can I play an animation from a different gameobject?
ok, so i have an Animation component on another gameObject. How do i play my desired clip?
GameObject.Find ("thing").animation.Play("take");
i have the clip inserted as the default clip (i think) and i have it also as element 0.
in game it says "the Animation state take cannot be played bacause it could not be found!"
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613143133im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
add panel between two animation clips in animator 0 Answers
Issue with using additive animation clips imported from one .FBX 0 Answers
Animated mesh is clipping in viewport and in game camera 1 Answer
Accessing a Mecanim state through scripting, then changing the associated clip--Can it be done? 2 Answers