Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » How to put a variable in a dropdown
- ScriptedAwesome
-
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)I have this
delete (all v) of (test)
define test (test)
delete (all v) of (undefined::red)
- Jonathan50
-
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
-
1000+ posts
How to put a variable in a dropdown
Ok, thanks! 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).
- Discussion Forums
- » Advanced Topics
-
» How to put a variable in a dropdown