# \[Solved\] Using the Location Sensor in the new UI

**URL:** https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897
**Category:** Questions about Thunkable X
**Tags:** solved, locationsensor, draganddrop
**Created:** [January 22, 2021, 12:31pm UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897 "2021-01-22T12:31:49Z")
**Posts on this page:** 8
**Page:** 1

<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: [January 22, 2021, 12:31pm UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/1 "2021-01-22T12:31:49Z")

</div>

Over on YouTube, Joicy Johnny asks:

 ![Screenshot 2021-01-22 at 12.20.08](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/2/e2655b2b9180def39f8adaf9971006b5f8a31b82.png)

The block in question is shown in this 2019 video which uses our legacy UI:

[![](https://img.youtube.com/vi/e3JZ7Cs7Zm8/maxresdefault.jpg "2019 Hour of Code: Build a City Reporting App Part 2 [Snap to Place]") ](https://www.youtube.com/watch?v=e3JZ7Cs7Zm8&t=348)

---

<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: [January 22, 2021, 1:54pm UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/2 "2021-01-22T13:54:58Z")

</div>

To do this with the new drag and drop UI, everything you need is in the blocks section:

1. Open the blocks editor
2. Click the `+` icon beside Sensors
3. Choose the Location Sensor and click `Add`

 ![add_location_sensor](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/b/eb3be794c1e5c98fc986ac27c3c464d02dab7c17.png)

You can stick with the sensor defaults in the next modal:

 ![sensor_defaults](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/7/87f4b2855c8c28fbde92502200712ec60ee777df.png)

After you click `Submit` you will have “Location\_Sensor1” in your project:

 ![getCurrentLocation](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/d/cd4c82c5145d9bacf5fa4af44bde16e61c0a5090.png)

Hope that helps!

---

<div class="post-metadata">

### Author: ![drenton72k4](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@drenton72k4](https://community.thunkable.com/u/drenton72k4)
#### Post date: [October 29, 2021, 12:25am UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/3 "2021-10-29T00:25:58Z")

</div>

When I press + against sensors in DND nothing happens. The screen just goes white.

---

<div class="post-metadata">

### Author: ![drenton72k4](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@drenton72k4](https://community.thunkable.com/u/drenton72k4)
#### Post date: [October 29, 2021, 12:31am UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/4 "2021-10-29T00:31:25Z")

</div>

Yeah can someone else confirm if the + against sensor works for them, it does nothing for me, tested now on multiple machines, with multiple browsers.

---

<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: [October 29, 2021, 3:18am UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/5 "2021-10-29T03:18:16Z")

</div>

I opened an existing DnD project and clicked the + next to sensors:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/7/079b2fbba5028017e8e35adf8a7dc0494e55cb06.png)

…and I can confirm that the screen goes white. If I hard refresh the tab after that, the project blocks show up again but no components have been added.

I would recommend submitting a [bug report](https://docs.thunkable.com/bugs-and-feature-requests).

---

<div class="post-metadata">

### Author: ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)
#### Post date: [October 29, 2021, 5:16pm UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/6 "2021-10-29T17:16:32Z")

</div>

Hi @drenton72k4 and @tatiang,

The new behavior you guys observed should be resolved now.

Can you both open your projects again and let me know if you can add sensors and AdMob components now?

Thanks for reporting!  
Jane

---

<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: [November 2, 2021, 7:48pm UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/7 "2021-11-02T19:48:20Z")

</div>

I thought I had answered this but yes, I can add a sensor now. Thank you!

---

<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:30pm UTC](https://community.thunkable.com/t/solved-using-the-location-sensor-in-the-new-ui/1063897/8 "2024-11-08T13:30:34Z")

</div>


