Discuss Scratch

ScriptedAwesome
Scratcher
1000+ posts

How to put a variable in a dropdown

So, I have put an undefined block inside a dropdown, but I can't get this
define test (test)
delete (all v) of (test)
I have this
define test (test)
delete (all v) of (undefined::red)
Jonathan50
Scratcher
1000+ posts

How to put a variable in a dropdown

You need to use “getParam”. I forgot the order but it goes either like [“getParam”, “r”, “test”] or [“getParam”, “test”, “r”] (without the smart quotes).

Last edited by Jonathan50 (Aug. 25, 2017 03:22:07)

ScriptedAwesome
Scratcher
1000+ posts

How to put a variable in a dropdown

Jonathan50 wrote:

You need to use “getParam”. I forgot the order but it goes either like [“getParam”, “r”, “test”] or [“getParam”, “test”, “r”] (without the smart quotes).
Ok, thanks!

Powered by DjangoBB