Accelerometer changes block

Can anyone show me how the accelerometer changes block works? example code.
Also when I use shake it closes the app. Is this an option I can turn off?

Hi @Tim_Stephens :wave:

Have you checked out the Thunkable documentation for the Accelerometer?
https://docs.thunkable.com/accelerometer

Are you using the Thunkable Live companion app? If so, this is a feature that ends the live testing session when shaking the device.

So you can’t use the shake as an event?
I have seen the documentation but also need to see example code of the block in use.
Thanks

Hi @Tim_Stephens, welcome to the community :wave:

Our initial version of the shake event might have been a bit too sensitive, we’re working on getting an update out shortly.

Also, I’d be interested to know how you intend using this event within your app.

Thanks!