# The "clone" block don't seem to refer to the just-cloned column

**URL:** https://community.thunkable.com/t/the-clone-block-dont-seem-to-refer-to-the-just-cloned-column/1420702
**Category:** Questions about Thunkable X
**Created:** [July 29, 2021, 8:12pm UTC](https://community.thunkable.com/t/the-clone-block-dont-seem-to-refer-to-the-just-cloned-column/1420702 "2021-07-29T20:12:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vincentking700](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/vincentking700/32/106716_2.png) [@vincentking700](https://community.thunkable.com/u/vincentking700)
#### Post date: [July 29, 2021, 8:12pm UTC](https://community.thunkable.com/t/the-clone-block-dont-seem-to-refer-to-the-just-cloned-column/1420702/1 "2021-07-29T20:12:28Z")

</div>

You can use this project as an example:  
[https://x.thunkable.com/projectPage/61030286be254a002f27acf7](https://x.thunkable.com/projectPage/61030286be254a002f27acf7)  
(to go to screen two press on label, screen one is red, screen two is white)

On screen one, when you click on the button, it shows you “the length” of “all buttons in row 1”, and the screen one rightfully shows 1.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/1/c1f5849a07109a098af329f693114df7c2f151db.png)

but on screen two, when you click on the button, it shows you “the length” of “all buttons in cloned row”, in which every row contains one button, and the expected label output is 1, but instead, we get 0

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/8/38e4602709ecbc4df732519c04729b8c1add6935.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/5/05465f52b2bf0bcb52888a2fe6e62f69a23cb273.jpeg)

I have used different debug methods to make sure the problem comes from the inability to refer to cloned blocks, anyone has any idea?

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [July 29, 2021, 8:29pm UTC](https://community.thunkable.com/t/the-clone-block-dont-seem-to-refer-to-the-just-cloned-column/1420702/2 "2021-07-29T20:29:30Z")

</div>

Nothing wrong with the code but due to the speed of the blocks to show the length in comparison to the speed of cloning the “row” the length is executed faster and return 0 before the cloning process finishes.

You can add a wait block of 0.01 seconds as the first block inside the “do” of the clone block. This waiting time is enough to give the opportunity to the cloned block to get ready and when test the length you will get 1 as expected.

So, in screen 2, before  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0c00121f4ae6804c2d2a1aa32dcf25eda8c6685f.png)

Happy Thunking!

---

<div class="post-metadata">

### Author: ![emma0122](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/emma0122/32/108510_2.png) [@emma0122](https://community.thunkable.com/u/emma0122)
#### Post date: [July 30, 2021, 6:39am UTC](https://community.thunkable.com/t/the-clone-block-dont-seem-to-refer-to-the-just-cloned-column/1420702/3 "2021-07-30T06:39:12Z")

</div>

First of all welcome to the community and your first post is highly appreciating.

---

<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:17pm UTC](https://community.thunkable.com/t/the-clone-block-dont-seem-to-refer-to-the-just-cloned-column/1420702/4 "2024-11-08T13:17:46Z")

</div>


