# Multiple Dynamic Components w/n a dynamic component

**URL:** <https://forums.sketchup.com/t/multiple-dynamic-components-w-n-a-dynamic-component/48035>\
**Category:** Dynamic Components\
**Created:** [July 10, 2017, 4:25pm UTC](https://forums.sketchup.com/t/multiple-dynamic-components-w-n-a-dynamic-component/48035 "2017-07-10T16:25:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![MikeWayzovski](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/mikewayzovski/32/98346_2.png) [@MikeWayzovski](https://forums.sketchup.com/u/MikeWayzovski)\
**Post date:** [July 10, 2017, 9:15pm UTC](https://forums.sketchup.com/t/multiple-dynamic-components-w-n-a-dynamic-component/48035/6 "2017-07-10T21:15:03Z")

</div>

Maybe it is better to control the animation with extra attributes. The Onclick function activates two calls : One to set the state, the other to animate:

 ![](https://global.discourse-cdn.com/sketchup/original/3X/4/8/48a55a4d046df859ade8a31141095e67bc665eb7.png)

---

_[View the full topic](https://forums.sketchup.com/t/multiple-dynamic-components-w-n-a-dynamic-component/48035)._
