design button.png

What does the AccelerometerSensor do?

The AccelerometerSensor allows your App to recognize when the phone is being moved. In this project, we will use this component to make our App talk when you shake the phone.


Before you can program the Accelerometer, however, you will need to go into the Designer Tab to drag it in.


1. Look to the palette on the far left hand side and locate the Sensor tab.

FindingAccelSensor.png

2. Once you have located the AccelerometerSensor you should drag it into the Viewer Screen.

***Note that you can't see the AccelerometerSensor in the Viewer. It will drop down below the viewer screen. This component is added so that we can use AccelerometerSensor Blocks on the Blocks Page.

AddingAccelSensor.png

AccelerometerSensor -- Blocks