# Why doesn't this line of code do anything?

**URL:** <https://community.thunkable.com/t/why-doesnt-this-line-of-code-do-anything/1415193>\
**Category:** Questions about Thunkable X\
**Created:** [July 26, 2021, 3:02pm UTC](https://community.thunkable.com/t/why-doesnt-this-line-of-code-do-anything/1415193 "2021-07-26T15:02:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathonschnoor6x4b5](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jonathonschnoor6x4b5/32/112262_2.png) [@jonathonschnoor6x4b5](https://community.thunkable.com/u/jonathonschnoor6x4b5)\
**Post date:** [July 26, 2021, 3:02pm UTC](https://community.thunkable.com/t/why-doesnt-this-line-of-code-do-anything/1415193/1 "2021-07-26T15:02:50Z")

</div>

![Screen Shot 2021-07-26 at 9.57.52 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/5/1566ad90ef7e29468f1fa3cd045e2f6ad9bfcfc2.png)

The result should be Remove Enemy 1 (Enemy 1 is the sprite name).

Why doesn’t this do anything?

---

<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 26, 2021, 3:36pm UTC](https://community.thunkable.com/t/why-doesnt-this-line-of-code-do-anything/1415193/2 "2021-07-26T15:36:24Z")

</div>

Remove takes the internal block ID not the displayed name. Every component has an alphanumeric ID to uniquely identify the component and this is the one used by the `remove` block.

---

<div class="post-metadata">

**Author:** ![jonathonschnoor6x4b5](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jonathonschnoor6x4b5/32/112262_2.png) [@jonathonschnoor6x4b5](https://community.thunkable.com/u/jonathonschnoor6x4b5)\
**Post date:** [July 26, 2021, 3:42pm UTC](https://community.thunkable.com/t/why-doesnt-this-line-of-code-do-anything/1415193/3 "2021-07-26T15:42:57Z")

</div>

Thanks. I feel like thunkable should have this work, it would remove a lot of code from my online app.

Thanks anyway!

---

<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/why-doesnt-this-line-of-code-do-anything/1415193/4 "2024-11-08T13:17:47Z")

</div>


