✨✨The biggest advantage✨✨ You can create and delete variables and lists at runtime! You don't have to take care of your variable names and how many you have! Backpack the Variables & List Extension Sprite and use it in your own Projects. Feel free to add and change things! Pls let me know what I should change or what you have changed. I also added functions to encode and decode 2 or 3 dimensional positions into a string, thanks to @Griffpatch because I used his tutorial to decode and encode Documentation: >Blocks: ->Variables & Lists --Delete All | Variables?, Lists? Deletes all types whose input is empty ->Variables: --Create Variable | Name, Value Creates a new Variable and sets the starting Value --Set Variable | Variable, Value Sets the Variable to the new Value --Read Value of Variable | Variable Reads the Value of a Variable --Change Variable | Variable, Change Changes the value of the Variable by the given value --Delete Variable | Variable Deletes the Variable, if you try to read the value it will be empty ->Lists: --Create List | Name Creates a new list with a specific name, if the name is already in use, the list will not be created --Delete List | List* Deletes the specified list --Delete all of List | List* Deletes the entire content from the list, but the list is retained --Delete Item | List*, Item Deletes a specific item from the specified list --Add to List | List*, Value Adds the specified value to the end of the list --Insert | List*, Item, Value Inserts the value at the specified position in the list --Replace Item | List*, Item, New Value Replaces the item in the list with the new value --Read Value of Item | List*, Item Reads the value of the specified item --Length of List | List* Returns the length of the list searched for --List contains Item | List, Value returns true if the list contains this item otherwise false --Index in List | List, Value returns the idx of this item in the list, if it doesn't contain this item the return value is empty ->En-, Decode --add value to "encoded string" | value Encodes the value and joins it with "encoded string" --read value of "encoded string" Reads the next value and decodes it --Encode X & Y ( & Z ) Positions | X, Y, (Z) Encodes the Position Data into one string, prepared for writing in a single variable, if the Z input is empty it will not be encoded --Decode X & Y ( & Z ) Positions Decodes the Data and returns it, if there was no Z Position data Z will be empty *If the list is not found, nothing happens
@Griffpatch 's tutorial to en- and decode x and y positions in one string