Snap! Jr

Ok thanks.

Error, var doesn’t exist…:frowning:

b is not in the scope of the inside of Set $gearBig-2.5 _ to _. I don't know how to make it work.
You can avoid the error in the custom join block by doing report (join input list: (1)).
(input list appears after you release on the red halo.)

Thanks.

I'm not seeing this in the project; has it changed since this message? Can you explain what problem you're trying to solve?

It has changed. The problem was the custom set var block didn't work with the custom join block's block var (b) because b was not in the scope of the set var's def.

I learned JS around 6 or 7.

Oh I see. There's a computer science Big Idea lurking here: modularity. If your SET block needs to know how your JOIN block works, something's wrong with your design. You should be able to use any reporter as the input to SET, and you should be able to use the output from JOIN in any context, e.g., SAY (JOIN ...).

P.S. Not you you; I know it's not your code we're discussing. :~)

Most people dont learn JS at that age.

yeah, but couldn't you still add a
script :scroll:
block?

I vote no. The whole point of this exercise is that it's meant for kids much younger than those who use Snap! itself. JS is the last thing we'd want to feature in such a context.

That’s what I mean.

Thanks for featuring Snap! Jr.

Oh. Nevermind.

How would I change the UI, in dev mode? But how would it save.

You're welcome! I like useful projects. :~)

Any suggestions to it?

Can we turn this into a collaboration?

Why would it need to be one?

So multiple people can run it?