@turbowarp/types-tw
Preparing search index...
scratch-vm-extension
Scratch
HatBlock
Interface HatBlock
interface
HatBlock
{
arguments
?:
Record
<
string
,
Argument
>
;
blockIconURI
?:
string
;
blockShape
?:
2
|
1
|
3
;
blockType
:
"hat"
;
filter
?:
(
"target"
|
"sprite"
)
[]
;
func
?:
string
;
hideFromPalette
?:
boolean
;
isEdgeActivated
?:
boolean
;
opcode
:
string
;
shouldRestartExistingThreads
?:
boolean
;
text
:
string
|
string
[]
;
}
Hierarchy (
View Summary
)
ExecutableBlock
HatBlock
Index
Properties
arguments?
block
Icon
URI?
block
Shape?
block
Type
filter?
func?
hide
From
Palette?
is
Edge
Activated?
opcode
should
Restart
Existing
Threads?
text
Properties
Optional
arguments
arguments
?:
Record
<
string
,
Argument
>
Optional
block
Icon
URI
blockIconURI
?:
string
Optional
block
Shape
blockShape
?:
2
|
1
|
3
block
Type
blockType
:
"hat"
Optional
filter
filter
?:
(
"target"
|
"sprite"
)
[]
Optional
func
func
?:
string
Optional
hide
From
Palette
hideFromPalette
?:
boolean
Optional
is
Edge
Activated
isEdgeActivated
?:
boolean
Defaults to true.
opcode
opcode
:
string
Optional
should
Restart
Existing
Threads
shouldRestartExistingThreads
?:
boolean
Defaults to false.
text
text
:
string
|
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
arguments
block
Icon
URI
block
Shape
block
Type
filter
func
hide
From
Palette
is
Edge
Activated
opcode
should
Restart
Existing
Threads
text
@turbowarp/types-tw
Loading...
Defaults to true.