# Tracking where click came from

**URL:** <https://community.thunkable.com/t/tracking-where-click-came-from/2487847>\
**Category:** Questions about Thunkable X\
**Tags:** design, beginner\
**Created:** [June 29, 2023, 12:58pm UTC](https://community.thunkable.com/t/tracking-where-click-came-from/2487847 "2023-06-29T12:58:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonek1999](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jonek1999](https://community.thunkable.com/u/jonek1999)\
**Post date:** [June 29, 2023, 12:58pm UTC](https://community.thunkable.com/t/tracking-where-click-came-from/2487847/1 "2023-06-29T12:58:56Z")

</div>

Can Thunkable track where a click came from?

I want to make a “back” button that returns to the screen where the button was clicked from. Is there any way for Thunkable to track from which screen the click came from and then when the user presses the “Back” button it returns to the screen he was on before instead of going to the “Home screen” of the app itself?

---

<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:** [June 30, 2023, 4:17am UTC](https://community.thunkable.com/t/tracking-where-click-came-from/2487847/2 "2023-06-30T04:17:17Z")

</div>

You can do this manually but there is no built-in function. There should be. The manual method involves an if block for each possible screen and storing the name of the current screen in a variable.

---

<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:** [September 28, 2023, 4:17am UTC](https://community.thunkable.com/t/tracking-where-click-came-from/2487847/3 "2023-09-28T04:17:19Z")

</div>

Closed on September 28, 2023, 4:17am UTC

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