Not to be confused with Say () (block).
Speak ()
speak () :: tts
Category Text to Speech
Type Stack
Introduced in 3.0

The speak () block is a stack block block and a Text to Speech block. The block uses the text to speech tool to speak the given text. It will speak the selected voice with the selected language.

Uses

In simple animations:

when green flag clicked
broadcast (message 1 v)
say [Hello]

when I receive [message 1 v]
speak [Hello] :: tts

A non-player character in an RPG:

when Green Flag clicked
forever
    if <(distance to [player v]) < [50]> then
        speak [hello there] :: tts
        wait (2) seconds
    end
end

Speaking text with a different accent/language:

when green flag clicked
set language to [English v] :: tts
speak [Hello] :: tts

Speaking text with a different voice:

when green flag clicked
set voice to [Giant v] :: tts
speak [Hello] :: tts

See Also