Skip to main content

Module blocks

Module blocks 

Source

Structs§

ArgId
The ID of a procedure parameter.
Param
ProcPrototype
Script
The representation of a Scratch script with maybe one hat block and many action blocks.
UnknownBlock
A block this crate doesn’t understand, kept in a lowered but uninterpreted form. If you think this block should be added, create an issue on the repository. If you don’t want to allow unknown blocks, use Decoder::allow_unknown_blocks.
UnknownField

Enums§

Action
The representation of a Scratch action block.
CloneOfMenu
The clone of menu used by create clone of [menu].
CurrentField
The current field used by (current [current]).
DistanceToMenu
The object menu used by (distance to (menu)).
ForwardBackwardField
The forward-backward field used by go [forward-backward] (num) layers.
FrontBackField
The front-back field used by go to [front-back] layer.
GraphicEffectField
The effect field used by some looks blocks.
Hat
The representation of a Scratch hat block.
KeyField
The key field used by when [key] key pressed. Additionally, Reporter::KeyMenu also uses this enum.
LocationMenu
The location menu used by some motion blocks.
LoudnessTimerField
The loudness-timer field used by when [loudness-timer] > (val).
MathFuncField
The math function field used by ([math-func] of (x))
NumberNameField
The number-name field used by some looks blocks.
OfObjectMenu
The object menu used by ([property] of (object)).
ParamKind
PropertyField
The property field used by ([property] of (object)).
Reporter
The representation of a Scratch reporter block.
SoundEffectField
The effect field used by some sound blocks.
StopField
The stop field used by stop [stop].
TouchingObjectMenu
The object menu used by <touching (menu)?>.
UnknownInput