# Hide button until a correct answer

**URL:** <https://cl.desmos.com/t/hide-button-until-a-correct-answer/1684>\
**Category:** Questions\
**Created:** [October 13, 2020, 1:37am UTC](https://cl.desmos.com/t/hide-button-until-a-correct-answer/1684 "2020-10-13T01:37:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Sandoval](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jonathan_sandoval/32/1316_2.png) [@Jonathan\_Sandoval](https://cl.desmos.com/u/Jonathan_Sandoval)\
**Post date:** [October 13, 2020, 1:37am UTC](https://cl.desmos.com/t/hide-button-until-a-correct-answer/1684/1 "2020-10-13T01:37:13Z")

</div>

Hello, I’m trying to hide a button until a certain answer from another screen is correct, either in multiple choice or math input. How do I do this?

---

<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:** [October 13, 2020, 6:49am UTC](https://cl.desmos.com/t/hide-button-until-a-correct-answer/1684/2 "2020-10-13T06:49:07Z")

</div>

Use the `disabled` sink using whatever condition you want it to be disabled.It’ll show the button, but unable to use it. For example, if `check` was an input variable that was true or false based on your correctness criteria:

```auto
disabled: inputName.script.check = false

```

---

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [October 14, 2020, 1:35am UTC](https://cl.desmos.com/t/hide-button-until-a-correct-answer/1684/3 "2020-10-14T01:35:35Z")

</div>

Sometimes it’s not enough to disable the button. Sometimes you really do want it to not appear there at all. I’ve run into this issue myself.

To do this, simply use the `hidden` key word. Exactly like what @Daniel_Grubbs was just saying but resulting in a different behaviour.
