# How to check that a device is within a certain location

**URL:** <https://community.thunkable.com/t/how-to-check-that-a-device-is-within-a-certain-location/3827344>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [May 14, 2025, 6:35am UTC](https://community.thunkable.com/t/how-to-check-that-a-device-is-within-a-certain-location/3827344 "2025-05-14T06:35:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![engg1500.software.12](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@engg1500.software.12](https://community.thunkable.com/u/engg1500.software.12)\
**Post date:** [May 14, 2025, 6:35am UTC](https://community.thunkable.com/t/how-to-check-that-a-device-is-within-a-certain-location/3827344/1 "2025-05-14T06:35:05Z")

</div>

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

This is my current code, I am within the declared locations in both longitude and latitude, yet it will never return “locationGood” what part am i messing up?

---

<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:** [May 16, 2025, 10:08pm UTC](https://community.thunkable.com/t/how-to-check-that-a-device-is-within-a-certain-location/3827344/2 "2025-05-16T22:08:23Z")

</div>

Hello @engg1500.software.12, welcome to Thunkable! 🎉  
Could you please connect the latitude with the label and let us know which value you see?

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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 20, 2025, 1:49pm UTC](https://community.thunkable.com/t/how-to-check-that-a-device-is-within-a-certain-location/3827344/4 "2025-08-20T13:49:13Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
