# Rolling 2021 (Drag and drop) to the usual category

**URL:** <https://community.thunkable.com/t/rolling-2021-drag-and-drop-to-the-usual-category/2249429>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [January 30, 2023, 7:15pm UTC](https://community.thunkable.com/t/rolling-2021-drag-and-drop-to-the-usual-category/2249429 "2023-01-30T19:15:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasi.preethag3yh](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@sasi.preethag3yh](https://community.thunkable.com/u/sasi.preethag3yh)\
**Post date:** [January 30, 2023, 7:15pm UTC](https://community.thunkable.com/t/rolling-2021-drag-and-drop-to-the-usual-category/2249429/1 "2023-01-30T19:15:16Z")

</div>

Dear All,

im trying to replicate Rolling 2021 (Drag and drop) to the usual category

Stuck with one block as its not reading the dice number.

Drag and drop one:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/363d21e1703f0819093ca578be6866d53e6f782a.jpeg)

usual block

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/f/4fe2be5c68177d5ff2a121d9d11de41e62090ec9.jpeg)

Hope I made it clear.

Your input is highly appreciable.

Regards,  
Sasi

Regards,  
Sasi Preetha

---

<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:** [January 31, 2023, 4:33am UTC](https://community.thunkable.com/t/rolling-2021-drag-and-drop-to-the-usual-category/2249429/2 "2023-01-31T04:33:07Z")

</div>

It looks like your image files are named “dice 1.png”, “dice 2.png”, etc.

So when you get letter #2 from “d **i** ce 6.png” (for example), it’s going to get “i”

And when you get letter #1 from “ **d** ice 6.png”, it’s going to get “d”

If you are trying to get the number, that would be **letter #6**.

I would do this a different way. Get a random number from 1 to 6. Assign it to a variable called randomRoll. Set the image’s picture to [join] [“dice “] [app variable randomRoll] [”.png”]. And speak text [join] ["You rolled a "] [app variable randomRoll].

By the way, what is Rolling 2021? Is that a game? Can you provide a link that helps explain?

---

<div class="post-metadata">

**Author:** ![sasi.preethag3yh](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@sasi.preethag3yh](https://community.thunkable.com/u/sasi.preethag3yh)\
**Post date:** [January 31, 2023, 4:43am UTC](https://community.thunkable.com/t/rolling-2021-drag-and-drop-to-the-usual-category/2249429/3 "2023-01-31T04:43:46Z")

</div>

True.You are a genious:)

Sharing the rolling 2021 project link… [Thunkable](https://x.thunkable.com/copy/1a5d89ea864e91813d43e236a1df94f4).

I found this link some time ago from the Thunkable community.

Sharing the screen shot of the blocks how I did it. Its working.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/e/be620f1946140be32c36c0fab1c6a220a7faa65b.png)

Thank you so much for your support and guidance. Its phenomenal:)

---

<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:** [May 1, 2023, 4:44am UTC](https://community.thunkable.com/t/rolling-2021-drag-and-drop-to-the-usual-category/2249429/4 "2023-05-01T04:44:45Z")

</div>

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