# Reset the button

**URL:** <https://cl.desmos.com/t/reset-the-button/7354>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [October 3, 2024, 5:56am UTC](https://cl.desmos.com/t/reset-the-button/7354 "2024-10-03T05:56:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Itzik](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/itzik/32/4888_2.png) [@Itzik](https://cl.desmos.com/u/Itzik)\
**Post date:** [October 3, 2024, 5:56am UTC](https://cl.desmos.com/t/reset-the-button/7354/1 "2024-10-03T05:56:04Z")

</div>

in the linked screen i would like the [check] button will reset when the student change focus to the OrderList. i.e. student will have to press the button in order to figure out if the order is correct.  
[Reset check button](https://teacher.desmos.com/activitybuilder/custom/66fe2a1727864034ed46f043)  
thanks

---

<div class="post-metadata">

**Author:** ![Daniel\_Wekselgreene](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_wekselgreene/32/1819_2.png) [@Daniel\_Wekselgreene](https://cl.desmos.com/u/Daniel_Wekselgreene)\
**Post date:** [October 3, 2024, 4:13pm UTC](https://cl.desmos.com/t/reset-the-button/7354/2 "2024-10-03T16:13:50Z")

</div>

One way is to build a string based on the order of the answers, and to use that string in the resetOnChange sink in the button. Then, in the graph, you want to check that timeSincePress \> 0 instead of number of button presses, since pressCount does _not_ reset, but timeSincePress does.

> **[\[Copy of\] reset button pressed • Activity Builder by Desmos Classroom](https://teacher.desmos.com/activitybuilder/custom/66fec0f09fa5065267a634e1)**
>
> by Daniel Wekselgreene

---

<div class="post-metadata">

**Author:** ![Itzik](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/itzik/32/4888_2.png) [@Itzik](https://cl.desmos.com/u/Itzik)\
**Post date:** [October 5, 2024, 4:30am UTC](https://cl.desmos.com/t/reset-the-button/7354/3 "2024-10-05T04:30:45Z")

</div>

thank you very much with the idea how to build the “resetonchange” string.
