Anyone know how to make advanced custom blocks?

I’ve made basic custom blocks before. But I just want to know how to make custom blocks with addable variables or something along those lines.

What I mean is you make a custom block that can be typed on. Like this one here

Not my block btw. This is from another person project. I’m using it for an example. I want to know how to make those kinds of custom blocks, thats all

make an input by clicking on the + icon in the block definition hats.

Alright thanks a lot! I’ve been searching how to make it for a while lol. Helps a ton with future projects

I’m glad I was able to help. However, if my post solved your question, please mark it as the solution so others don’t get confused.
(EDIT: me sound like ai moment)

Well wada ya know. I tried to see what happens if you use a custom block in a sprite but the definition is about a variable that is in another sprite and the variable is for this sprite only. It didn’t work.

If you go to the trouble to mark a variable as sprite-local, you shouldn’t be surprised when it then turns out not to be available in other sprites! What were you expecting to happen?

No i suspected that would happen. Just experimenting with make a custom block thats all.