# Remove randomly selected item from list

**URL:** <https://community.thunkable.com/t/remove-randomly-selected-item-from-list/3582559>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, listview\
**Created:** [February 17, 2025, 10:41pm UTC](https://community.thunkable.com/t/remove-randomly-selected-item-from-list/3582559 "2025-02-17T22:41:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![drKroof](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@drKroof](https://community.thunkable.com/u/drKroof)\
**Post date:** [February 17, 2025, 10:41pm UTC](https://community.thunkable.com/t/remove-randomly-selected-item-from-list/3582559/1 "2025-02-17T22:41:04Z")

</div>

Hi All,

I would like to show a random image from a list (this works) then remove that image at the same step that next time when I show the next random image, I do not get that image shown again.

What is the way to remove the selected imagefrom the list?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/5/657194e9de7d8173209dc49e630e73846b889b45.png)

Many thanks!

---

<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:** [February 18, 2025, 1:32am UTC](https://community.thunkable.com/t/remove-randomly-selected-item-from-list/3582559/2 "2025-02-18T01:32:49Z")

</div>

The blocks you want are:

set `Image1's Picture` to in list `app variable imageList` [get and remove](https://docs.thunkable.com/blocks/blocks/lists#get-get-and-remove-or-remove) random

When you configure the `get` list block, this is how it looks (without the variable block):

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

---

<div class="post-metadata">

**Author:** ![drKroof](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@drKroof](https://community.thunkable.com/u/drKroof)\
**Post date:** [February 18, 2025, 8:58am UTC](https://community.thunkable.com/t/remove-randomly-selected-item-from-list/3582559/3 "2025-02-18T08:58:48Z")

</div>

Many thanks, this worked. It was hard to find this block, because this looks like  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/a/9a546b4d4d9209f317dcf89b79c80538d3a93546.png)  
which inclides a number  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/6/66ce88d09813366b76ae7423c2908adaf5cceaea.png)  
. So I fist had to figure this out. This was my first try ever, so no surprise.

Cheers!

---

<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 19, 2025, 8:59am UTC](https://community.thunkable.com/t/remove-randomly-selected-item-from-list/3582559/4 "2025-05-19T08:59:17Z")

</div>

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