continuing a variable from one computational layer to another

Hello!

I’m trying to create an activity for my students to practice their number sense while factoring – specifically finding the factors of a number that add to get another number.

I’ve managed to cobble together some code from other activities on the internet, but I can’t get it to look for the right things when checking for correctness. It seems like I’ve made two different number generators for the instructions vs for the table? When I try to take it down to one and get one layer to grab the values from the other, the whole thing is filled with error messages.

Is there a way I can get the two layers to talk to each other?

Here is a link to the activity

PS: Please excuse how messy it looks, I was trying to get it to show me the hidden info while in the preview :see_no_evil:

Hello!

here’s how to do it:
https://teacher.desmos.com/activitybuilder/custom/67953f246b58b33674d53564

you can use: note5.script to access the variables of another component …