# \[Solved\] Problem regarding the removal of sprites

**URL:** <https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033>\
**Category:** Questions about Thunkable X\
**Tags:** solved, tcanvas\
**Created:** [May 7, 2020, 1:38pm UTC](https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033 "2020-05-07T13:38:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.wulfers4ylq9](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@michael.wulfers4ylq9](https://community.thunkable.com/u/michael.wulfers4ylq9)\
**Post date:** [May 7, 2020, 1:38pm UTC](https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033/1 "2020-05-07T13:38:43Z")

</div>

![Screenshot2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/c/ac08ff9e91afdf44a2ea1b0aaa49580ecb6c4b84.png)

Hello, I have a problem and I hope you will be able to help me with it. Whenever I click “aim” the programm seems to skip the “remove all sprites in fail” command, which eventually ends in an overflow of sprites. If I replace the “repeat […]” section with only a create “fail” block, everything seems to work just fine. How do I make both work at the same time?

Thank you for your answers!

---

<div class="post-metadata">

**Author:** ![paulmw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@paulmw](https://community.thunkable.com/u/paulmw)\
**Post date:** [May 8, 2020, 11:53am UTC](https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033/2 "2020-05-08T11:53:32Z")

</div>

The remove block only works on one sprite at a time (for now). Use a for loop.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/5/553e7e5790ff6bef54ed2265a3ec8e108d1916d9.png)  
[https://x.thunkable.com/copy/46102c42ae45bc01129cbec1dde2f850](https://x.thunkable.com/copy/46102c42ae45bc01129cbec1dde2f850)

---

<div class="post-metadata">

**Author:** ![michael.wulfers4ylq9](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@michael.wulfers4ylq9](https://community.thunkable.com/u/michael.wulfers4ylq9)\
**Post date:** [May 8, 2020, 1:00pm UTC](https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033/3 "2020-05-08T13:00:34Z")

</div>

Thank you very much!

---

<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:29am UTC](https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033/4 "2024-11-08T11:29:19Z")

</div>


