Is it possible to clear a table based on a condition being met?
I think I have my logic correct in that when tries = clear the table should be cleared, otherwise the values, if any, in the table should remain. What I want to do is clear the table if they’ve generated a new example to try.
number("t_{ries}"): button1.pressCount
number("c_{lear}"):
when graph1.number("c_{orrect}")>=0.5 simpleFunction("a+1").evaluateAt(button1.pressCount)
otherwise button1.pressCount