Temporary Variables

From PenguinMod Wiki
Jump to navigation Jump to search
Temporary Variables
Caption
Description Create variables for use in one block stack. Useful to not clutter the variable list with variables you only use once.
Link fortnite.com
Added fortnite...

Temporary Variables is an extension for handling with temporary variables (or local variable) which can only be used in the block stack.

Blocks

the following images are made with https://scratchblocks.github.io/ and https://en.scratch-wiki.info/wiki/Block_Plugin/Syntax

Set the temporary variable to a value. Can also be used for defining.

Change the temporary variable by a number.

Get the value of the temporary variable.

Delete the temporary variable.

Deletes every temporary variable.

File:Variable exists?.png Checks if the temporary variable exists.

File:Current variable.png returns a list with every temporary variables. (will not include the value of those variables)

File:For each variable in 10.png loops for the specified amount of time with the temporary variables incrementing every loop. Can also be used for defining.

ve Extension Navigation
Vanilla Music  · Pen  · Animated Text^  · Video Sensing  · Text to Speech  · Translate  · Makey Makey  · micro:bit  · LEGO MINDSTORMS EV3  · LEGO BOOST  · LEGO Education WeDo 2.0  · Go Direct Force & Acceleration
TurboWarp Files  · Physics  · Clones+  · Skins  · HTTP  · CloudLink  · McUtils  · GamePad  · Clipping and Blending  · Pointer Lock  · Mouse Cursor  · TurboWarp Blocks
PenguinMod Stage Camera  · Sound Systems  · Sound Waves  · Motion  · Events  · Control  · Sensing  · Operators  · JSON  · Custom Styles  · Tweening  · Tailgating  · Tile Grids  · Canvas Effects  · Multiple Timers  · Temporary Variables  · Runtime Modifications  · Font Manager  · Storage  · CloudLink  · Scripts  · Pang API  · 3D Math  · Extra Mathematics  · Random Utilities  · LZ Compress  · Prism  · Odd Messages  · PenguinGPT  · HTML iframe Elements  · Color Picker  · Colors  · All Menus  · Labels  · Perlin Noise  · CATS  · Printing  · Scratch Authentication  · JavaScript  · Easy Save*  · XML*  · Debugging*  · 3D Extension*  · 3D Physics*  · 3D Virtual Reality*  · Interfaces*  · Packager Applications*  · Inline Blocks*  · Pathfinding*  · Animation*  · Virtual Reality*  · PenguinMod Extra Extensions
Former Files  · Clone Communication  · PenguinMod Permissions  · Website Request Blocks  · OOP  · HTML Canvas  · Unite  · Advanced Text*
April Fools Test Extension  · Christmas  · an amazing extension  · Epic utilities  · image blocks  · fire in the hole  · the doo doo extension
Key
*: Work in progress or never released  · ^: Scratch Lab