scratch-dsl
Toggle table of contents
master
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
scratch-dsl
scratch-dsl
/
org.scratchapi.scratchdsl
/
StageBuilder
/
addHatBlock
add
Hat
Block
open
override
fun
<
B
:
HatBlock
>
addHatBlock
(
hatBlock
:
B
)
:
B
Adds a hat block to this host.
Return
The added hat block.
Parameters
hat
Block
The hat block to add.