make Local List Slot
fun makeLocalListSlot(name: String = IdGenerator.makeRandomId(6), value: JsonArray): ScratchListSlot
Creates a local list slot for use in sprites.
Parameters
name
The name of the list.
value
The initial contents.
fun makeLocalListSlot(name: String = IdGenerator.makeRandomId(6), block: JsonArrayBuilder.() -> Unit): ScratchListSlot
Creates a local list slot with a builder for use in sprites.
Parameters
name
The name of the list.
block
The builder for the list's contents.