Preparing search index...
The search index is not available
@turbowarp/types
@turbowarp/types
scratch-vm
VM
Thread
Interface Thread
interface
Thread
{
blockContainer
:
Blocks
;
blockGlowInFrame
:
null
|
string
;
isKilled
:
boolean
;
justReported
:
unknown
;
requestScriptGlowInFrame
:
boolean
;
stack
:
string
[]
;
stackClick
:
boolean
;
stackFrames
:
StackFrame
[]
;
status
:
ThreadStatus
;
target
:
RenderedTarget
;
topBlock
:
string
;
updateMonitor
:
boolean
;
warpTimer
:
null
|
Timer
;
atStackTop
()
:
boolean
;
getParam
(
name
:
string
)
:
null
|
ScratchCompatibleValue
;
goToNextBlock
()
:
void
;
initParams
()
:
void
;
isRecursiveCall
(
procedureCode
:
string
)
:
boolean
;
peekParentStackFrame
()
:
null
|
StackFrame
;
peekStack
()
:
string
;
peekStackFrame
()
:
null
|
StackFrame
;
popStack
()
:
string
;
pushParam
(
name
:
string
,
value
:
ScratchCompatibleValue
)
:
void
;
pushReportedValue
(
value
:
ScratchCompatibleValue
)
:
void
;
pushStack
(
blockId
:
string
)
:
void
;
reuseStackForNextBlock
(
blockId
:
string
)
:
void
;
stopThisScript
()
:
void
;
}
Index
Properties
block
Container
block
Glow
In
Frame
is
Killed
just
Reported
request
Script
Glow
In
Frame
stack
stack
Click
stack
Frames
status
target
top
Block
update
Monitor
warp
Timer
Methods
at
Stack
Top
get
Param
go
To
Next
Block
init
Params
is
Recursive
Call
peek
Parent
Stack
Frame
peek
Stack
peek
Stack
Frame
pop
Stack
push
Param
push
Reported
Value
push
Stack
reuse
Stack
For
Next
Block
stop
This
Script
Properties
block
Container
blockContainer
:
Blocks
block
Glow
In
Frame
blockGlowInFrame
:
null
|
string
is
Killed
isKilled
:
boolean
just
Reported
justReported
:
unknown
request
Script
Glow
In
Frame
requestScriptGlowInFrame
:
boolean
stack
stack
:
string
[]
stack
Click
stackClick
:
boolean
stack
Frames
stackFrames
:
StackFrame
[]
status
status
:
ThreadStatus
target
target
:
RenderedTarget
top
Block
topBlock
:
string
update
Monitor
updateMonitor
:
boolean
warp
Timer
warpTimer
:
null
|
Timer
Methods
at
Stack
Top
atStackTop
()
:
boolean
Returns
boolean
get
Param
getParam
(
name
:
string
)
:
null
|
ScratchCompatibleValue
Parameters
name
:
string
Returns
null
|
ScratchCompatibleValue
go
To
Next
Block
goToNextBlock
()
:
void
Returns
void
init
Params
initParams
()
:
void
Returns
void
is
Recursive
Call
isRecursiveCall
(
procedureCode
:
string
)
:
boolean
Parameters
procedureCode
:
string
Returns
boolean
peek
Parent
Stack
Frame
peekParentStackFrame
()
:
null
|
StackFrame
Returns
null
|
StackFrame
peek
Stack
peekStack
()
:
string
Returns
string
peek
Stack
Frame
peekStackFrame
()
:
null
|
StackFrame
Returns
null
|
StackFrame
pop
Stack
popStack
()
:
string
Returns
string
push
Param
pushParam
(
name
:
string
,
value
:
ScratchCompatibleValue
)
:
void
Parameters
name
:
string
value
:
ScratchCompatibleValue
Returns
void
push
Reported
Value
pushReportedValue
(
value
:
ScratchCompatibleValue
)
:
void
Parameters
value
:
ScratchCompatibleValue
Returns
void
push
Stack
pushStack
(
blockId
:
string
)
:
void
Parameters
blockId
:
string
Returns
void
reuse
Stack
For
Next
Block
reuseStackForNextBlock
(
blockId
:
string
)
:
void
Parameters
blockId
:
string
Returns
void
stop
This
Script
stopThisScript
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
block
Container
block
Glow
In
Frame
is
Killed
just
Reported
request
Script
Glow
In
Frame
stack
stack
Click
stack
Frames
status
target
top
Block
update
Monitor
warp
Timer
Methods
at
Stack
Top
get
Param
go
To
Next
Block
init
Params
is
Recursive
Call
peek
Parent
Stack
Frame
peek
Stack
peek
Stack
Frame
pop
Stack
push
Param
push
Reported
Value
push
Stack
reuse
Stack
For
Next
Block
stop
This
Script
@turbowarp/types
Loading...