# Help programing an action button to a figure under an isometric transformation

**URL:** https://cl.desmos.com/t/help-programing-an-action-button-to-a-figure-under-an-isometric-transformation/5213
**Category:** Questions
**Created:** [November 4, 2023, 5:59pm UTC](https://cl.desmos.com/t/help-programing-an-action-button-to-a-figure-under-an-isometric-transformation/5213 "2023-11-04T17:59:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mika](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@mika](https://cl.desmos.com/u/mika)
#### Post date: [November 4, 2023, 5:59pm UTC](https://cl.desmos.com/t/help-programing-an-action-button-to-a-figure-under-an-isometric-transformation/5213/1 "2023-11-04T17:59:37Z")

</div>

I’m new to working with CL and working on a Geometry activity and would appreciate someone’s help programming an action button. I have three slides with isometric transformations that I would like to add action buttons to so my students can press play, watch the figure slide, pause if they want, and then stop at the end so they can read the new coordinates after the horizontal and vertical shifts. I’d also like them to be able to reset and repeat this.

> **[Isometric Translations • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/6542b75fbff89b95b89a105b)**
>
> by Andrea Mika

---

<div class="post-metadata">

### Author: ![ianmcmeek](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ianmcmeek/32/3966_2.png) [@ianmcmeek](https://cl.desmos.com/u/ianmcmeek)
#### Post date: [November 7, 2023, 9:52pm UTC](https://cl.desmos.com/t/help-programing-an-action-button-to-a-figure-under-an-isometric-transformation/5213/2 "2023-11-07T21:52:18Z")

</div>

Hi,  
For cases where you want play, pause, and reset available, a good option is to use `animationDuration` in the graph’s CL, which styles it like a video player. I hooked this up on screen 1 and added explanations in the graph and CL. Hopefully they provide some guidance if you like this solution and want to apply it to future screens.

> **[\[Copy of\] Isometric Translations • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/654aaeeb0958c4056753bf5e)**
>
> by Ian McMeeking
