set

open operator fun ScratchList.set(index: Expression?, value: Expression?): NormalBlock

Replaces an item at a specific index in a list.

Parameters

index

The index of the item to replace.

value

The new value.


open infix fun HandlesSet.set(value: Expression?): Block

Sets the value of a settable property (like x-position, y-position, etc.).

Parameters

value

The new value.