add () to ()

From PenguinMod Wiki (Official)
Revision as of 01:20, 8 August 2024 by MediansSC (talk | contribs) (MediansSC moved page User:MediansSC/Sandbox/AddEnd to add () to ())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Add () to ()
Jump to navigation Jump to search

The add () to () block is a stack block in the Lists category that adds the entered item to the end of the selected list. It originates from Scratch. The default value of this block is "thing".

Workaround

This block can be worked around by simply inserting the item at the end of the list using the insert () at () of () block.
insert (item::grey) at (length of [list v]) of [list v]
Using last in place of the length of () block also works, as that was an option for this block during Scratch 2.0.