# Why can't two properties of an object be returned?

**URL:** https://community.thunkable.com/t/why-cant-two-properties-of-an-object-be-returned/384625
**Category:** Questions about Thunkable X
**Created:** [December 28, 2019, 7:17pm UTC](https://community.thunkable.com/t/why-cant-two-properties-of-an-object-be-returned/384625 "2019-12-28T19:17:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)
#### Post date: [December 28, 2019, 7:17pm UTC](https://community.thunkable.com/t/why-cant-two-properties-of-an-object-be-returned/384625/1 "2019-12-28T19:17:30Z")

</div>

In the following example, the latitude property can be returned successfully, but when a second property from the same object is then added, the block is not executed. It seems that both properties should be returned since the blocks are the same, but that is not the case. Anyone know why?

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

Thanks,

KK

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [December 29, 2019, 7:04am UTC](https://community.thunkable.com/t/why-cant-two-properties-of-an-object-be-returned/384625/2 "2019-12-29T07:04:47Z")

</div>

Use

 ![изображение](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c66575f050cbcc0ee219358693c74641693425ac.png)

---

<div class="post-metadata">

### Author: ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)
#### Post date: [December 31, 2019, 12:00am UTC](https://community.thunkable.com/t/why-cant-two-properties-of-an-object-be-returned/384625/3 "2019-12-31T00:00:42Z")

</div>

Thank You actech! Your suggestion works, but I still wonder why you can’t make two successive calls to the properties from the onMarkerPress “event” object. 🙂

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [December 31, 2019, 8:07am UTC](https://community.thunkable.com/t/why-cant-two-properties-of-an-object-be-returned/384625/4 "2019-12-31T08:07:23Z")

</div>

You can find the answer to your question and other questions in the application [https://x.thunkable.com/projects/5dbd5243a77acad1b26f851f/project/properties/designer/](https://x.thunkable.com/projects/5dbd5243a77acad1b26f851f/project/properties/designer/)

---

<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, 11:46am UTC](https://community.thunkable.com/t/why-cant-two-properties-of-an-object-be-returned/384625/5 "2024-11-08T11:46:11Z")

</div>


