# Atan2 (x,y) formula in Thunkable X Cross Platform

**URL:** https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267
**Category:** Questions about Thunkable X
**Created:** [September 23, 2019, 2:49am UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267 "2019-09-23T02:49:07Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![danielemazza67b](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/danielemazza67b/32/70808_2.png) [@danielemazza67b](https://community.thunkable.com/u/danielemazza67b)
#### Post date: [September 23, 2019, 2:49am UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267/1 "2019-09-23T02:49:07Z")

</div>

Does Thunkable Cross Platform have the atan2 (x,y) formula? I saw the atan but not the atan2 (x,y). I need it for the Distance matrix formula. Thanks.

---

<div class="post-metadata">

### Author: ![CBVG](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cbvg/32/32401_2.png) [@CBVG](https://community.thunkable.com/u/CBVG)
#### Post date: [September 23, 2019, 3:13am UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267/2 "2019-09-23T03:13:47Z")

</div>

Make your own function then.

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

---

<div class="post-metadata">

### Author: ![danielemazza67b](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/danielemazza67b/32/70808_2.png) [@danielemazza67b](https://community.thunkable.com/u/danielemazza67b)
#### Post date: [September 24, 2019, 1:34pm UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267/3 "2019-09-24T13:34:39Z")

</div>

When I select the “atan” block it is linked to a number (45 by default). How can you attach the “/ division” block in that way in cross platform?

---

<div class="post-metadata">

### Author: ![danielemazza67b](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/danielemazza67b/32/70808_2.png) [@danielemazza67b](https://community.thunkable.com/u/danielemazza67b)
#### Post date: [September 24, 2019, 1:42pm UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267/4 "2019-09-24T13:42:23Z")

</div>

How can you isolate the “+” block? For me the “+” block comes with a value before and after that I cannot remove. Also Square root comes with a variable that I cannot remove. Sorry…I am just starting with Thunkable…maybe I am not able to understand how blocks work. Thanks for any suggestion

---

<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: [September 24, 2019, 3:46pm UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267/5 "2019-09-24T15:46:27Z")

</div>

> [@danielemazza67b](#):
>
> How can you attach the “/ division” block in that way in cross platform?

This is called a shadow block - it’s just a placeholder and can be replaced by any Math block you like.  
The intent here is to communicate that this block expects a numeric input as opposed to say, an object or a piece of text.

* * *

> [@danielemazza67b](#):
>
> How can you isolate the “+” block?

If you right click on the block and choose the `external inputs` option it will change to this shape. There are lots of blocks that support doing this, and sometimes it can make blocks a little bit easier to read.

Hope that helps!

---

<div class="post-metadata">

### Author: ![danielemazza67b](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/danielemazza67b/32/70808_2.png) [@danielemazza67b](https://community.thunkable.com/u/danielemazza67b)
#### Post date: [September 24, 2019, 10:31pm UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267/6 "2019-09-24T22:31:48Z")

</div>

Thanks so much!

---

<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, 12:08pm UTC](https://community.thunkable.com/t/atan2-x-y-formula-in-thunkable-x-cross-platform/239267/7 "2024-11-08T12:08:53Z")

</div>


