# Speed of location property

**URL:** <https://community.thunkable.com/t/speed-of-location-property/1281588>\
**Category:** Questions about Thunkable X\
**Created:** [May 13, 2021, 8:31pm UTC](https://community.thunkable.com/t/speed-of-location-property/1281588 "2021-05-13T20:31:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![infosmartmobilityccj](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@infosmartmobilityccj](https://community.thunkable.com/u/infosmartmobilityccj)\
**Post date:** [May 13, 2021, 8:31pm UTC](https://community.thunkable.com/t/speed-of-location-property/1281588/1 "2021-05-13T20:31:25Z")

</div>

Dear,

I try to use the speed variable from the location property. Nevertheless, I get always 0 when I am moving.

Here is the function:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/5/c5d75276b6f791122e6b6baa6690600c1784924a.png)

Any help will be appreciated. Regards

---

<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:** [May 13, 2021, 8:41pm UTC](https://community.thunkable.com/t/speed-of-location-property/1281588/2 "2021-05-13T20:41:49Z")

</div>

Hi @infosmartmobilityccj ,

Would the accelerometer or the gyroscope be a better choice for you?

What are you trying to get the speed of?

---

<div class="post-metadata">

**Author:** ![infosmartmobilityccj](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@infosmartmobilityccj](https://community.thunkable.com/u/infosmartmobilityccj)\
**Post date:** [May 13, 2021, 10:13pm UTC](https://community.thunkable.com/t/speed-of-location-property/1281588/3 "2021-05-13T22:13:26Z")

</div>

Hi,

I would like to display the speed of the mobile phone. Regards

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 14, 2021, 2:30am UTC](https://community.thunkable.com/t/speed-of-location-property/1281588/4 "2021-05-14T02:30:13Z")

</div>

Have you checked to see if there’s anything in the green ‘error’ block? That might be informative.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 14, 2021, 2:38am UTC](https://community.thunkable.com/t/speed-of-location-property/1281588/5 "2021-05-14T02:38:36Z")

</div>

This works for me:

[https://x.thunkable.com/copy/4ff39af9d614b63eb61673589fc2b20f](https://x.thunkable.com/copy/4ff39af9d614b63eb61673589fc2b20f)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/e/aeb809d35c47a7cf5303064300cadf8c7c99f802.png)

The key is that if you call GetCurrentLocation too frequently, it doesn’t have time to load the values. I found that a 0.5 second delay worked well and that I could go down to as little as 0.3 seconds.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 14, 2021, 2:50am UTC](https://community.thunkable.com/t/speed-of-location-property/1281588/6 "2021-05-14T02:50:18Z")

</div>

I think you might have more luck with the accelerometer, though:

[https://x.thunkable.com/copy/c752bf5867b0b9770829b5ab30e9de29](https://x.thunkable.com/copy/c752bf5867b0b9770829b5ab30e9de29)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5fd1296a00296e7d0e3b89748c067e2d3b487885.png)

I’m kind of wondering what the intended purpose of the Location Sensor’s speed property is…

---

<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:22pm UTC](https://community.thunkable.com/t/speed-of-location-property/1281588/7 "2024-11-08T13:22:31Z")

</div>


