Why doesn't this line of code do anything?

Screen Shot 2021-07-26 at 9.57.52 AM

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

Why doesn’t this do anything?

2 Likes

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.

1 Like

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

Thanks anyway!

2 Likes