# Clone a button and take the OnClick with it

**URL:** <https://community.thunkable.com/t/clone-a-button-and-take-the-onclick-with-it/376449>\
**Category:** Questions about Thunkable X\
**Created:** [December 20, 2019, 11:34pm UTC](https://community.thunkable.com/t/clone-a-button-and-take-the-onclick-with-it/376449 "2019-12-20T23:34:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![townythunk](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@townythunk](https://community.thunkable.com/u/townythunk)\
**Post date:** [December 20, 2019, 11:34pm UTC](https://community.thunkable.com/t/clone-a-button-and-take-the-onclick-with-it/376449/1 "2019-12-20T23:34:22Z")

</div>

I recently learnt cloning a button (thx to help on this board).  
Is it possible keep the onclick functionality that was behind the original cloned button?

---

<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 21, 2019, 7:24am UTC](https://community.thunkable.com/t/clone-a-button-and-take-the-onclick-with-it/376449/2 "2019-12-21T07:24:50Z")

</div>

No, you need to create separate blocks.

---

<div class="post-metadata">

**Author:** ![arun](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/arun/32/42_2.png) [@arun](https://community.thunkable.com/u/arun)\
**Post date:** [December 21, 2019, 10:18pm UTC](https://community.thunkable.com/t/clone-a-button-and-take-the-onclick-with-it/376449/3 "2019-12-21T22:18:11Z")

</div>

Another option is to put the content of the onclick button in a procedure, and then call that procedure from both onclicks. You can also try using the Any Component Button Click blocks.

---

<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/clone-a-button-and-take-the-onclick-with-it/376449/4 "2024-11-08T11:46:18Z")

</div>


