Hat Block Host
Functions
Link copied to clipboard
Adds a hat block to this host.
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.