# Accelerometer changes block

**URL:** <https://community.thunkable.com/t/accelerometer-changes-block/95037>\
**Category:** Questions about Thunkable X\
**Created:** [June 7, 2019, 1:31am UTC](https://community.thunkable.com/t/accelerometer-changes-block/95037 "2019-06-07T01:31:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Stephens](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@Tim\_Stephens](https://community.thunkable.com/u/Tim_Stephens)\
**Post date:** [June 7, 2019, 1:31am UTC](https://community.thunkable.com/t/accelerometer-changes-block/95037/1 "2019-06-07T01:31:13Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Conor](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Conor](https://community.thunkable.com/u/Conor)\
**Post date:** [June 7, 2019, 5:53am UTC](https://community.thunkable.com/t/accelerometer-changes-block/95037/2 "2019-06-07T05:53:40Z")

</div>

Hi @Tim_Stephens 👋

Have you checked out the Thunkable documentation for the Accelerometer?

> **[Accelerometer | Thunkable Docs](https://docs.thunkable.com/accelerometer)**

> [@Tim\_Stephens](#):
>
> I use shake it closes the app

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

---

<div class="post-metadata">

**Author:** ![Tim\_Stephens](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@Tim\_Stephens](https://community.thunkable.com/u/Tim_Stephens)\
**Post date:** [June 7, 2019, 6:26am UTC](https://community.thunkable.com/t/accelerometer-changes-block/95037/3 "2019-06-07T06:26:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 7, 2019, 10:00am UTC](https://community.thunkable.com/t/accelerometer-changes-block/95037/4 "2019-06-07T10:00:42Z")

</div>

Hi @Tim_Stephens, welcome to the community 👋

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!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/accelerometer-changes-block/95037/5 "2024-11-08T12:13:35Z")

</div>


