How do you stop and start the function of text to speech on command?

I have an application where it consists of two modes. The first mode requires text to speech however the second mode doesn't need it anymore. Is there any way for the text-to-speech to stop on command? Thank you.

Welcome @NumBraille_Device

Yes.

https://ai2.appinventor.mit.edu/reference/components/media.html#TextToSpeech

Methods

Speak(message)
Speaks the given message.

Stop() Stops any current speech.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.