# Location sensor help

**URL:** <https://community.thunkable.com/t/location-sensor-help/1198243>\
**Category:** Questions about Thunkable X\
**Created:** [March 31, 2021, 10:48am UTC](https://community.thunkable.com/t/location-sensor-help/1198243 "2021-03-31T10:48:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![team.eps.numeriqueg](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@team.eps.numeriqueg](https://community.thunkable.com/u/team.eps.numeriqueg)\
**Post date:** [March 31, 2021, 10:48am UTC](https://community.thunkable.com/t/location-sensor-help/1198243/1 "2021-03-31T10:48:09Z")

</div>

Hello, I would like my application to be able to change the label at any time by displaying the lattitude and longitude. However, I can’t do it. How to do ? Here the location sensor can only enter a loop and not be the source like a button.

---

<div class="post-metadata">

**Author:** ![team.eps.numeriqueg](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@team.eps.numeriqueg](https://community.thunkable.com/u/team.eps.numeriqueg)\
**Post date:** [March 31, 2021, 10:52am UTC](https://community.thunkable.com/t/location-sensor-help/1198243/2 "2021-03-31T10:52:10Z")

</div>

To simplify understanding I would like to be able to do: when location changes then do …

So depending on the location, an action would take place

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [March 31, 2021, 11:40am UTC](https://community.thunkable.com/t/location-sensor-help/1198243/3 "2021-03-31T11:40:42Z")

</div>

[https://x.thunkable.com/copy/f19df2ccd52b7c2adb6ee70b665875fd](https://x.thunkable.com/copy/f19df2ccd52b7c2adb6ee70b665875fd)  
See and test

---

<div class="post-metadata">

**Author:** ![team.eps.numeriqueg](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@team.eps.numeriqueg](https://community.thunkable.com/u/team.eps.numeriqueg)\
**Post date:** [April 2, 2021, 8:37am UTC](https://community.thunkable.com/t/location-sensor-help/1198243/4 "2021-04-02T08:37:56Z")

</div>

Hello, first of all I want to thank you. However, I have the impression that the position is only displayed when the screen opens. Then it doesn’t update … I wish it could update every second but it doesn’t work. I don’t understand.

---

<div class="post-metadata">

**Author:** ![team.eps.numeriqueg](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@team.eps.numeriqueg](https://community.thunkable.com/u/team.eps.numeriqueg)\
**Post date:** [April 2, 2021, 9:38am UTC](https://community.thunkable.com/t/location-sensor-help/1198243/5 "2021-04-02T09:38:07Z")

</div>

Sorry, I think it didn’t work as I was indoors to test it. Outdoors it works quite well.

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [April 2, 2021, 10:04am UTC](https://community.thunkable.com/t/location-sensor-help/1198243/6 "2021-04-02T10:04:42Z")

</div>

Please do not update every second, if you use a mobile phone with a lower system version, it is easy to crash

---

<div class="post-metadata">

**Author:** ![hoch.academydhj7](https://avatars.discourse-cdn.com/v4/letter/h/6bbea6/32.png) [@hoch.academydhj7](https://community.thunkable.com/u/hoch.academydhj7)\
**Post date:** [April 2, 2021, 5:07pm UTC](https://community.thunkable.com/t/location-sensor-help/1198243/7 "2021-04-02T17:07:27Z")

</div>

Hey! Does this work.  
As @tony.ycy.program says updating every second could cause your app to crash  
So this should not crash. If it does set the 0.66 to a higher number.  
 ![locsensor](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/2/f2acf6365166a9d657c9c616493ae6a4b62611bc.png)  
You also may want to move the wait 0.66 seconds above the call location\_sensor\_1]  
instead of inside it.

---

<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, 1:25pm UTC](https://community.thunkable.com/t/location-sensor-help/1198243/8 "2024-11-08T13:25:34Z")

</div>


