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
/
stopBlock
stop
Block
fun
BlockHost
.
stopBlock
(
stopType
:
StopType
=
StopType.THIS_SCRIPT
)
:
NormalBlock
Adds a 'stop' block.
Parameters
stop
Type
The scope of what to stop (e.g., this script, all).