Updated Set Variable.md (markdown)
commited
commit
1e46df206f4aa1ab05176b1b7a430c3fa5ec2c9a
... | ... | @@ -16,7 +16,7 @@ As you can see, we've set the variable to 1, but the Get Variable block outputs |
16 | 16 | |
17 | 17 | This is because those two variables are local, meaning they can't transfer variable information from one place to another (inside a block to outside the block, or into another block and vice versa). |
18 | 18 | |
19 | If we want a variable to share information to another variable in different places, then we would have to globalize both of them. You can simply press the Global button on the keyboard where you type the variables name. Which would add a $ at the start of the name (e.g $Number). |
|
19 | If we want a variable to share information to another variable in different places, then we would have to globalize them. You can simply press the Global button on the keyboard where you type the variables name. Which would add a $ at the start of the name. |
|
20 | 20 | |
21 | 21 | Note that two variables with the same name with one being a global will not count as the same variables (e.g Number and $Number are not the same). |
22 | 22 |