# How to capture and re-use a random number?

**URL:** https://community.thunkable.com/t/how-to-capture-and-re-use-a-random-number/867635
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [October 2, 2020, 8:02am UTC](https://community.thunkable.com/t/how-to-capture-and-re-use-a-random-number/867635 "2020-10-02T08:02:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![zap1](https://avatars.discourse-cdn.com/v4/letter/z/90db22/32.png) [@zap1](https://community.thunkable.com/u/zap1)
#### Post date: [October 2, 2020, 8:02am UTC](https://community.thunkable.com/t/how-to-capture-and-re-use-a-random-number/867635/1 "2020-10-02T08:02:26Z")

</div>

Slow going for me after trying hard, and I need some guidance please.

App: Thought for the Day

Airtable spreadsheet has columns:  
Number, Lesson, Category, Author

Re: Blocks shown  
How to capture a random number and use it for the other blocks?

Thanks for any help that you can provide.

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

---

<div class="post-metadata">

### Author: ![roumak-coder](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@roumak-coder](https://community.thunkable.com/u/roumak-coder)
#### Post date: [October 2, 2020, 9:01am UTC](https://community.thunkable.com/t/how-to-capture-and-re-use-a-random-number/867635/2 "2020-10-02T09:01:19Z")

</div>

This code should make the job done - ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/4/b43b899ca385208d8bc21e551b12315b444c2b7d.png)  
-Roumak

---

<div class="post-metadata">

### Author: ![zap1](https://avatars.discourse-cdn.com/v4/letter/z/90db22/32.png) [@zap1](https://community.thunkable.com/u/zap1)
#### Post date: [October 2, 2020, 9:03am UTC](https://community.thunkable.com/t/how-to-capture-and-re-use-a-random-number/867635/3 "2020-10-02T09:03:29Z")

</div>

Thanks @roumak-coder! I will work on that as you suggest!

---

<div class="post-metadata">

### Author: ![zap1](https://avatars.discourse-cdn.com/v4/letter/z/90db22/32.png) [@zap1](https://community.thunkable.com/u/zap1)
#### Post date: [October 2, 2020, 9:12am UTC](https://community.thunkable.com/t/how-to-capture-and-re-use-a-random-number/867635/4 "2020-10-02T09:12:10Z")

</div>

Brilliant!

Tested.

Thank you so much!

Roumak rules!

---

<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:23pm UTC](https://community.thunkable.com/t/how-to-capture-and-re-use-a-random-number/867635/5 "2024-11-08T12:23:40Z")

</div>


