# Action Button CL Help

**URL:** <https://cl.desmos.com/t/action-button-cl-help/2207>\
**Category:** Questions\
**Created:** [December 15, 2020, 5:25pm UTC](https://cl.desmos.com/t/action-button-cl-help/2207 "2020-12-15T17:25:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amy\_Towriss](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/amy_towriss/32/1549_2.png) [@Amy\_Towriss](https://cl.desmos.com/u/Amy_Towriss)\
**Post date:** [December 15, 2020, 5:25pm UTC](https://cl.desmos.com/t/action-button-cl-help/2207/1 "2020-12-15T17:25:56Z")

</div>

I am building this activity, and on slide 11, I want to Hide the “Check Your Work Button” until they put something on the graph.  
When they click the button, I want to add an URL to show them what their graph should look like

Activity: [Basketball Star â¢ Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5fd6869a5dd6150d47324a20)  
Link I want to provide them in the Note: **[Graphing Calculator](https://www.desmos.com/calculator/ptg6ocgawt)**

I know I can Hide the Button and put the Link in a Note, but that’s as far as I get.  
Thanks

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [December 15, 2020, 5:41pm UTC](https://cl.desmos.com/t/action-button-cl-help/2207/2 "2020-12-15T17:41:56Z")

</div>

You could hide it, but I think maybe better to disable it:  
`disabled: dotplot.sketch.strokeCount=0`

Instead of taking them out of the activity through a link, why not have another graph component that is hidden until the button is pressed?  
`hidden: button1.pressCount=0`

---

<div class="post-metadata">

**Author:** ![Amy\_Towriss](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/amy_towriss/32/1549_2.png) [@Amy\_Towriss](https://cl.desmos.com/u/Amy_Towriss)\
**Post date:** [December 15, 2020, 5:46pm UTC](https://cl.desmos.com/t/action-button-cl-help/2207/3 "2020-12-15T17:46:09Z")

</div>

> [@Daniel\_Grubbs](#):
>
> hidden: button1.pressCount=0

This was perfect! Thank You so much!
