# Start & Stop of Aircraft in Cesium

**URL:** <https://community.cesium.com/t/start-stop-of-aircraft-in-cesium/6631>\
**Category:** CesiumJS\
**Created:** [March 6, 2018, 9:49am UTC](https://community.cesium.com/t/start-stop-of-aircraft-in-cesium/6631 "2018-03-06T09:49:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shubham\_Mahale](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Shubham\_Mahale](https://community.cesium.com/u/Shubham_Mahale)\
**Post date:** [March 6, 2018, 9:49am UTC](https://community.cesium.com/t/start-stop-of-aircraft-in-cesium/6631/1 "2018-03-06T09:49:08Z")

</div>

Hi Gabby,

Can we start or stop the aircraft on button click..??  
It can be done from meter displayed below. But i want this done through button click event..

Can we achieve this??

Regards,  
Shubham Mahale

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [March 12, 2018, 9:17pm UTC](https://community.cesium.com/t/start-stop-of-aircraft-in-cesium/6631/2 "2018-03-12T21:17:10Z")

</div>

Hi Shubham,

Can you be more specific what you are trying to do? You can stop and start animation time by clicking the play/pause button on the Animation Widget (#6 on the image below).

![Cesium Viewer](https://cesiumjs.org/tutorials/Cesium-Workshop/images/viewerAnnotated.jpg)

You can do the same by setting [Clock.shouldAnimate](https://cesiumjs.org/Cesium/Build/Documentation/Clock.html#shouldAnimate).

viewer.clock.shouldAnimate = true; //play  
viewer.clock.shouldAnimate = false; //pause

``

Thanks,

Gabby

---

<div class="post-metadata">

**Author:** ![Shubham\_Mahale](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Shubham\_Mahale](https://community.cesium.com/u/Shubham_Mahale)\
**Post date:** [March 13, 2018, 5:12am UTC](https://community.cesium.com/t/start-stop-of-aircraft-in-cesium/6631/3 "2018-03-13T05:12:39Z")

</div>

Thank you Gabby…  
Got it…

Thanks alot,
