# Limit Attempts in a Card Sort

**URL:** <https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158>\
**Category:** Questions\
**Tags:** card-sort\
**Created:** [September 5, 2025, 4:23pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158 "2025-09-05T16:23:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tania\_Villanueva](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/tania_villanueva/32/2589_2.png) [@Tania\_Villanueva](https://cl.desmos.com/u/Tania_Villanueva)\
**Post date:** [September 5, 2025, 4:23pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/1 "2025-09-05T16:23:28Z")

</div>

Is there a way to limit the number of attempts in a card sort?

---

<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:** [September 6, 2025, 12:44am UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/2 "2025-09-06T00:44:13Z")

</div>

You can’t really do that, because it would not be clear when an attempt has been completed. So a workaround would be to use an action button on a separate screen. You could record if the student is correct or not each time they click the button and respond accordingly. By using the capture property, it records the state of the card sort at the time the button is clicked. So if they exceed their attempts and the button is locked, even if they go change the card sort afterward, the button would still show incorrect. Here is a mock up of what I mean. Let me know if you need clarification or help modifying it.

> **[card sort • Activity by Amplify Classroom](https://classroom.amplify.com/activity/68bb7fd3f082f7951b8b0024)**
>
> by Daniel Wekselgreene

---

<div class="post-metadata">

**Author:** ![NTMDev](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ntmdev/32/7141_2.png) [@NTMDev](https://cl.desmos.com/u/NTMDev)\
**Post date:** [September 6, 2025, 1:50am UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/3 "2025-09-06T01:50:18Z")

</div>

Something I wanted to add is that you can link everything up with `.script`

---

<div class="post-metadata">

**Author:** ![Tania\_Villanueva](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/tania_villanueva/32/2589_2.png) [@Tania\_Villanueva](https://cl.desmos.com/u/Tania_Villanueva)\
**Post date:** [September 7, 2025, 2:56pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/4 "2025-09-07T14:56:35Z")

</div>

That is an awesome idea! Thank you for sharing! ❤

---

<div class="post-metadata">

**Author:** ![Tania\_Villanueva](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/tania_villanueva/32/2589_2.png) [@Tania\_Villanueva](https://cl.desmos.com/u/Tania_Villanueva)\
**Post date:** [September 7, 2025, 3:08pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/5 "2025-09-07T15:08:29Z")

</div>

I have never used .script, when do you use it?

---

<div class="post-metadata">

**Author:** ![NTMDev](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ntmdev/32/7141_2.png) [@NTMDev](https://cl.desmos.com/u/NTMDev)\
**Post date:** [September 7, 2025, 8:13pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/6 "2025-09-07T20:13:43Z")

</div>

So basically if you have two different elements like a `Note` and `Math Response` and you have a variable like `foo` in the `Note` and want to access `foo` in the `Math Response`, you need to use `.script` to call it:

```auto
# In Note:
foo = "hi"
# In Math Response:
mathfoo = Note.script.foo

```

It’s basically like a telephone line between all the elements. (Sorry for the bad analogy lol)

---

<div class="post-metadata">

**Author:** ![bhssingul](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bhssingul/32/6761_2.png) [@bhssingul](https://cl.desmos.com/u/bhssingul)\
**Post date:** [September 8, 2025, 2:22pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/7 "2025-09-08T14:22:05Z")

</div>

or just dont reveal the # correct until they press a button, and prevent them from moving after that?

im new here so idk

---

<div class="post-metadata">

**Author:** ![NTMDev](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ntmdev/32/7141_2.png) [@NTMDev](https://cl.desmos.com/u/NTMDev)\
**Post date:** [September 8, 2025, 3:00pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/8 "2025-09-08T15:00:34Z")

</div>

No you could just do `disabled` I believe for the action button.

```auto
disabled: mathbox.submitted

```

---

<div class="post-metadata">

**Author:** ![bhssingul](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bhssingul/32/6761_2.png) [@bhssingul](https://cl.desmos.com/u/bhssingul)\
**Post date:** [September 8, 2025, 3:03pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/9 "2025-09-08T15:03:30Z")

</div>

thx alot.learn something new every day!

---

<div class="post-metadata">

**Author:** ![NTMDev](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ntmdev/32/7141_2.png) [@NTMDev](https://cl.desmos.com/u/NTMDev)\
**Post date:** [September 8, 2025, 8:09pm UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/10 "2025-09-08T20:09:07Z")

</div>

You’re welcome. Plus I did have to learn everything you’re probably learning too and I’ll just tell you CL is nothing compared to coding languages like x86 assembly.

---

<div class="post-metadata">

**Author:** ![Tania\_Villanueva](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/tania_villanueva/32/2589_2.png) [@Tania\_Villanueva](https://cl.desmos.com/u/Tania_Villanueva)\
**Post date:** [September 9, 2025, 4:08am UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/11 "2025-09-09T04:08:32Z")

</div>

Thank you for explaining, that is very helpful!

---

<div class="post-metadata">

**Author:** ![NTMDev](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ntmdev/32/7141_2.png) [@NTMDev](https://cl.desmos.com/u/NTMDev)\
**Post date:** [September 9, 2025, 11:11am UTC](https://cl.desmos.com/t/limit-attempts-in-a-card-sort/8158/12 "2025-09-09T11:11:09Z")

</div>

Very welcome. Glad I helped two people with one problem.
