Temporary Variables: Difference between revisions
Content deleted Content added
→Blocks: Replace block images with Scratchblocks |
Added article links and removed the spaces after each block |
||
Line 6:
the following images are made with https://scratchblocks.github.io/ and https://en.scratch-wiki.info/wiki/Block_Plugin/Syntax
[[set () to () (Temporary Variables)|<sb>set [Variable] to (1)
[[change () by () (Temporary Variables)|<sb>change [Variable] by (1)
[[get () (Temporary Variables)|<sb>(get [Variable]
[[Delete () (Temporary Variables)|<sb>delete [Variable]
[[delete all variables|<sb>delete all variables
[[variable () exists?|<sb><variable [Variable] exists
[[current variables|<sb>(current variables :: #0869c2)</sb>]] returns a list with every temporary variables. (will not include the value of those variables)
<scratchblocks>for each [
} :: #0869c2</scratchblocks> [[for each () in ()|loops for the specified amount of time with the temporary variables incrementing every loop]]. Can also be used for defining.
{{ExtensionsNav}}
|