I have a student creating in Sprite Lab and wants to only remove one of many sprites when two different ones touch… hope that makes sense… is there a way to code for the removal of only one. He has many of this particular sprite on the screen and when he uses the remove block it removes all of that particular sprite.
This is an interesting question. If you could provide the link to the student project, we can better assist in debugging the problem. Here are some helpful steps to requesting help with debugging:
Step 1: Provide the SHARE link for the project or lesson activity level (button is on the left of the top menu bar) - It is helpful to see and run the original code. Screenshots of code or code snippets do not always include the lines of code needed to find and isolate the bug.
Step 2: Answer the following questions: The more details you provide will help us understand your problem and speed up the process.
- What do you intend or expect to happen?
- What is actually happening?
- What have you tried?
What to expect
Depending on the nature of the issue, you can expect one or more of the following responses from the community:
- a request for additional information
- an indication of whether this is a limitation of the platform or beyond the scope of our curricula
- a suggestion of possible next steps for locating and/or fixing the bug
- a discussion of the debugging process including useful strategies and common misconceptions
In the Remove block, replace the costume of the sprite with the “This Sprite” block. Code.org [levelbuilder]