Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you delete a previous stamp?
- daCypher
-
25 posts
How do you delete a previous stamp?
You can only delete all stamps of all sprites with
There's no way of deleting single stamps. If you want to do that, work with clones instead. Create a variable “Clone ID” for that particular sprite (not for all) and a variable named “delete Clone ID” for all sprites, then do this:
You can then delete any clone by setting the “delete Clone ID” to the clone you want to delete, and then broadcasting “delete clone”. This will even work from other sprites.
There's no way of deleting single stamps. If you want to do that, work with clones instead. Create a variable “Clone ID” for that particular sprite (not for all) and a variable named “delete Clone ID” for all sprites, then do this:
You can then delete any clone by setting the “delete Clone ID” to the clone you want to delete, and then broadcasting “delete clone”. This will even work from other sprites.
- P444
-
500+ posts
How do you delete a previous stamp?
Why clones though? You can use a list with costume numbers You can only delete all stamps of all sprites with
There's no way of deleting single stamps. If you want to do that, work with clones instead. Create a variable “Clone ID” for that particular sprite (not for all) and a variable named “delete Clone ID” for all sprites, then do this:
You can then delete any clone by setting the “delete Clone ID” to the clone you want to delete, and then broadcasting “delete clone”. This will even work from other sprites.

- daCypher
-
25 posts
How do you delete a previous stamp?
I can't figure out, how costume numbers would help. For example, if you want to draw the keys of a phone, you can draw a costume which looks like a phone key and stamp it 10 times, so it's visible on the screen
If you then wanted to delete single stamps, it won't work, you can only delete all of them with
By using clones you could delete single keys.
If you wanted to delete button no. 5, you could do it like this (assuming you would also copy the “When delete clone received” script from above):
If you then wanted to delete single stamps, it won't work, you can only delete all of them with
By using clones you could delete single keys.
If you wanted to delete button no. 5, you could do it like this (assuming you would also copy the “When delete clone received” script from above):
- P444
-
500+ posts
How do you delete a previous stamp?
You can. Keep all costume numbers in a list. When wanting to delete a specific stamp, delete the costume number from list and rerender from list. I am just saying that it is possible with just the pen blocks without clones.
- daCypher
-
25 posts
How do you delete a previous stamp?
Now i get it. Yes if you clear and then rerender, you can do it with stamps. You only need to save the position of each stamp.
- deck26
-
1000+ posts
How do you delete a previous stamp?
As long as stamped images don't overlap and the backdrop is a plain colour you can also stamp a plain costume to make the old stamped item disappear. I've used this for card games and it works well.
- P444
-
500+ posts
How do you delete a previous stamp?
Yep, preferred if you are using pen to write text or other drawings so it will be faster. As long as stamped images don't overlap and the backdrop is a plain colour you can also stamp a plain costume to make the old stamped item disappear. I've used this for card games and it works well.
- footsocktoe
-
1000+ posts
How do you delete a previous stamp?
All in the title
When working with stamps and the pen, you have to think of the entire screen as a stamp.
Since you can draw instantly with the pen and stamps, you can achieve the appearance of deleting single stamps with this flow…
Redraw screen
Wait
Clear
Redraw screen with one stamp deleted
Wait
Clear
Redraw screen with any changes you want to make
Wait
Clear
Redraw screen
.
.
And no, there will be no blank screens or anything. Scratch can draw with the pen lightning fast (put it in a nonrefresh block)
- monkeytrooper
-
1000+ posts
How do you delete a previous stamp?
Thank you that is just what I need As long as stamped images don't overlap and the backdrop is a plain colour you can also stamp a plain costume to make the old stamped item disappear. I've used this for card games and it works well.
MT
- DaBestOfDaBest11
-
2 posts
How do you delete a previous stamp?
.
Last edited by DaBestOfDaBest11 (May 4, 2019 21:25:49)
- codeman1044
-
1000+ posts
How do you delete a previous stamp?
Please don't necropost. This topic is old and answered, and brings it back to the front page of the forums, which can annoy some people. Next time, please create your own topic. .
- -MemeMan_-
-
16 posts
How do you delete a previous stamp?
I can't figure out, how costume numbers would help. For example, if you want to draw the keys of a phone, you can draw a costume which looks like a phone key and stamp it 10 times, so it's visible on the screen
If you then wanted to delete single stamps, it won't work, you can only delete all of them with
By using clones you could delete single keys.
If you wanted to delete button no. 5, you could do it like this (assuming you would also copy the “When delete clone received” script from above):
how exactly do i get the script to work
- -MemeMan_-
-
16 posts
How do you delete a previous stamp?
Last edited by -MemeMan_- (Nov. 2, 2020 18:12:05)
- drawthekid
-
14 posts
How do you delete a previous stamp?
I might do some testing so if I find something I can do i'll share on this discussion. 

- deck26
-
1000+ posts
How do you delete a previous stamp?
I might do some testing so if I find something I can do i'll share on this discussion.Please don't - this topic is old and has already been answered. Any newer questions at the end of the topic are better moved to new topics.
- WeaselFurr
-
3 posts
How do you delete a previous stamp?
I'm having the same problem with stamps.
- GalakC
-
500+ posts
How do you delete a previous stamp?
theres not really any way other than using pen clear or using identification numbers for your clones
- Discussion Forums
- » Help with Scripts
-
» How do you delete a previous stamp?