interface CustomState {
    "Scratch.looks": {
        drawableId: null | number;
        onSpriteRight: boolean;
        skinId: null | number;
        text: string;
        type: TextBubbleType;
    };
    "Scratch.music": { currentInstrument: number };
    "Scratch.pen": {
        _shade: number;
        brightness: number;
        color: number;
        penAttributes: PenAttributes;
        penDown: boolean;
        saturation: number;
        transparency: number;
    };
    "Scratch.sound": { effects: { pan: number; pitch: number } };
    "Scratch.text2speech": { voiceId: TextToSpeechVoice };
    "Scratch.videoSensing": {
        motionAmount: number;
        motionDirection: number;
        motionFrameNumber: number;
    };
}

Properties

"Scratch.looks": {
    drawableId: null | number;
    onSpriteRight: boolean;
    skinId: null | number;
    text: string;
    type: TextBubbleType;
}
"Scratch.music": { currentInstrument: number }
"Scratch.pen": {
    _shade: number;
    brightness: number;
    color: number;
    penAttributes: PenAttributes;
    penDown: boolean;
    saturation: number;
    transparency: number;
}
"Scratch.sound": { effects: { pan: number; pitch: number } }
"Scratch.text2speech": { voiceId: TextToSpeechVoice }
"Scratch.videoSensing": {
    motionAmount: number;
    motionDirection: number;
    motionFrameNumber: number;
}