# How to get real life latitude and longitude?

**URL:** <https://forum.makecode.com/t/how-to-get-real-life-latitude-and-longitude/19395>\
**Category:** Arcade\
**Created:** [April 24, 2023, 1:41pm UTC](https://forum.makecode.com/t/how-to-get-real-life-latitude-and-longitude/19395 "2023-04-24T13:41:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Themeatly2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/themeatly2/32/8533_2.png) [@Themeatly2](https://forum.makecode.com/u/Themeatly2)\
**Post date:** [April 24, 2023, 1:41pm UTC](https://forum.makecode.com/t/how-to-get-real-life-latitude-and-longitude/19395/1 "2023-04-24T13:41:35Z")

</div>

How do I get real life latitude and longitude?  
I couldn’t find any exstention for it.  
Please help 🥲

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [April 24, 2023, 2:19pm UTC](https://forum.makecode.com/t/how-to-get-real-life-latitude-and-longitude/19395/2 "2023-04-24T14:19:29Z")

</div>

🤷 I know how to get compass heading but latitude and longitude are on a very large scale and are usually measured by GPS.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [April 24, 2023, 3:04pm UTC](https://forum.makecode.com/t/how-to-get-real-life-latitude-and-longitude/19395/3 "2023-04-24T15:04:48Z")

</div>

The MakeCode Arcade hardware specification does not require a GPS module, so none of the boards don’t have it. You may be able to wire up a GPS module to the serial pins and parse the data directly with serial blocks, although I don’t remember Arcade actually have a blocks API for reading from the UART. This will also obviously not work in the simulator.

I don’t think this will ever happen in the simulator, due to the fact that multiplayer over the internet is now supported, and being able to obtain the coordinates of someone is, not the safest thing to do.

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [April 24, 2023, 5:37pm UTC](https://forum.makecode.com/t/how-to-get-real-life-latitude-and-longitude/19395/4 "2023-04-24T17:37:18Z")

</div>

> [@UnsignedArduino](#):
>
> so none of the boards don’t have it.

Ah yes, the trick of the double negative. JK, ik it’s just a typo.  
Basicaly, everything he said, this is far too big-scale stuff for MakeCode which has simple retro games in focus, not worldwide networks that have features close to those of modern smartphones

---

<div class="post-metadata">

**Author:** ![Themeatly2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/themeatly2/32/8533_2.png) [@Themeatly2](https://forum.makecode.com/u/Themeatly2)\
**Post date:** [May 1, 2023, 4:50pm UTC](https://forum.makecode.com/t/how-to-get-real-life-latitude-and-longitude/19395/5 "2023-05-01T16:50:53Z")

</div>

Oh, I usually program audrino uno. Sorry 😅
