# Technical issue with the magnetometer

**URL:** https://community.thunkable.com/t/technical-issue-with-the-magnetometer/3261598
**Category:** Issues / Bugs
**Created:** [October 10, 2024, 8:58am UTC](https://community.thunkable.com/t/technical-issue-with-the-magnetometer/3261598 "2024-10-10T08:58:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fabienleromancer1hz8](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@fabienleromancer1hz8](https://community.thunkable.com/u/fabienleromancer1hz8)
#### Post date: [October 10, 2024, 8:58am UTC](https://community.thunkable.com/t/technical-issue-with-the-magnetometer/3261598/1 "2024-10-10T08:58:07Z")

</div>

"Hello everyone!

I don’t speak English, sorry if there are any mistakes.

I was previously working with App Inventor, where I used the orientation sensor, and it worked well. I wanted to remake this application with Thunkable, but the magnetometer associated with the heading block is not working correctly (+90 degrees, it’s in the wrong quadrant). The calculations seem to be done with ‘atan’ instead of ‘atan2’, and I don’t understand why… Can anyone help me?"

Thank you in advance 🙂

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [October 11, 2024, 1:45pm UTC](https://community.thunkable.com/t/technical-issue-with-the-magnetometer/3261598/2 "2024-10-11T13:45:51Z")

</div>

Hi fabienleromancer1hz8, welcome to Thunkable! 🎉

Be sure to check out [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1), the [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78/8), and our [Getting Started Guide](https://docs.thunkable.com/getting-started/get-started) to make the best of your Thunkable Community experience!

Could you share the project with us or take a screenshot of the blocks so we can see how it is set up?

![](https://downloads.intercomcdn.com/i/o/759644115/d4a89684a0bda74ab75c59e6/Screenshot+2023-06-08+at+4.13.55+PM.png)
