# Text to Speech

{% embed url="<https://youtu.be/rqpjqHXW-_E>" %}

## Properties

`Default Language`: Set component to recognize text and speak in this language. Can be changed in blocks.

## Blocks

### Functions

#### Speak

![](/files/-MYdctke9e940jxlmDKs)

Read text aloud in the specified language

#### Stop

![](/files/-MYdd0pYcH4Fou-EGBJY)

Stop Speaking. Can be used with a [Button](/snap-to-place/button.md) to create a stop button.

### Properties

#### Set Default Language

Set default language to item from drop-down menu. Can also use [Text](/snap-to-place/text.md) block or [variable](/snap-to-place/variables.md) to set language.

![](/files/-MYddFGIIw95CQy66gFR)

#### Get Default Language

![](/files/-MYddT1Ap4guVUsoc3OZ)

Returns current language of Text to Speech component.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thunkable.com/snap-to-place/text-to-speech.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
