make List
Creates a local list for this sprite.
Parameters
name
The name of the list.
json Array
The initial contents.
fun makeList(name: String = IdGenerator.makeRandomId(6), block: JsonArrayBuilder.() -> Unit): ScratchList
Creates a local list for this sprite with a builder.
Parameters
name
The name of the list.
block
The builder for the list's contents.
Creates a local list from a list slot.
Parameters
list Slot
The slot defining the list.