Since you have added the AccelerometerSensor component in the Designer Page you can access the AccelerometerSensor blocks.

1. Find the AccelerometerSensor in the palette under Screen1. For this app we will want to use the When.Shaking-Do block. This block tells the App to do something when we shake it.


2. After you drag the When.Shaking-Do block into the viewer it should look like the image below.


3. Next you will add a Call.TextToSpeech.Speak-Message argument like you did with the button and then you will add a blank Text.Argument.