Stage Builder
Functions
Link copied to clipboard
Link copied to clipboard
Adds a hat block to this host.
Link copied to clipboard
Creates a global broadcast message (scoped to the stage).
Link copied to clipboard
fun makeList(name: String = IdGenerator.makeRandomId(6), block: JsonArrayBuilder.() -> Unit): ScratchList
Creates a global list with a builder (scoped to the stage).
Creates a global list (scoped to the stage).
Link copied to clipboard
fun HatBlockHost.procedure(name: String, warp: Boolean = false, block: ProcedurePrototypeBuilder.() -> Unit): Lazy<Procedure>
Defines a custom block procedure.
Link copied to clipboard
fun HatBlockHost.whenBackdropSwitchesTo(backdrop: Costume, block: BlockHost.() -> Unit): NormalHatBlock
Creates a 'when backdrop switches to' hat block.
Link copied to clipboard
Creates a 'when this sprite clicked' hat block.
Link copied to clipboard
fun HatBlockHost.whenGreaterThan(compared: WhenGreaterThanComparedValue, value: Expression?, block: BlockHost.() -> Unit): NormalHatBlock
Creates a 'when loudness >' or 'when timer >' hat block.
Link copied to clipboard
Creates a 'when green flag clicked' hat block.
Link copied to clipboard
Creates a 'when I receive' hat block.
Link copied to clipboard
Creates a 'when I start as a clone' hat block.
Link copied to clipboard
Creates a 'when key pressed' hat block.