Sketch and Check Random

Similar to Julie R’s sketch and check but with a random equation generated every button press

Where is the randomizer created/controlled?
I am hoping to create several variations like:
*point-slope form
*quadratic variations

But I can’t figure out how to edit?
Also wondering about how to edit the random values that are created.

Looks like it is on slide 2.

r=randomGenerator(act8.pressCount)
number("m"):r.int(-2,2)
number("b"):r.int(-5,5)

Thanks! I was blind.
What is the coding benefit of the controls being on slide 2 instead of being in Slide 1?

I’m not sure why it was on slide 2…maybe just to isolate the code to make it easier to find? It could have been done in the note component on slide 1 even. Here’s something similar: