Discuss Scratch
- Born-in-2014
-
Scratcher
8 posts
Why can't I delete my clones?
Idk why but Im trying to make a game where there are stages but in one of those stages, you have to click red circles and make them disappear. my code btw.
when I start as a clone
forever
glide (1) secs to (random position)
if <<touching [mouse pointer v] ?> and <mouse down?>> then
change [red points v] by (1)
hide
delete this clone
end
end
Last edited by Born-in-2014 (Dec. 12, 2025 06:31:28)
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
Hmmmm, i don't know tbh, however,maybe u can give me your project link and i can change it so it works properly?
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
wait, maybe its cuz of the hide block, lemme make a project and test it
- Born-in-2014
-
Scratcher
8 posts
Why can't I delete my clones?
Hmmmm, i don't know tbh, however,maybe u can give me your project link and i can change it so it works properly?
Oh all you have to do is just go to my profile and click on brain not braining. Hope you can find the problem.
- Born-in-2014
-
Scratcher
8 posts
Why can't I delete my clones?
wait, maybe its cuz of the hide block, lemme make a project and test itNo I put the hide block because the Delete clone itself doesn't work
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
put the glide 1 sec to ___ and theclickign then delete script in different line,
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
when green flag clicked
create clone of [myself v]
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
when I start as a clone
forever
glide (1) secs to [random position]
end
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
if touching mouse pointer ? and mouse down? then
change red points by 1
delete this clone
change red points by 1
delete this clone
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
(the lest one is in a
when I start as a cloneloop
forever
end
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
(the lest one is in a
when I start as a cloneloop
forever
end
- dem_bot
-
Scratcher
100+ posts
Why can't I delete my clones?
in normal english:
Gliding one second takes one second, so it only checks if it's touching once per second. just having a
Gliding one second takes one second, so it only checks if it's touching once per second. just having a
when this sprite clickedshould work
change [ points v] by (1)
delete this clone
- ANIRUDDH040814
-
Scratcher
14 posts
Why can't I delete my clones?
@dem_bot, actually, inhis code, he is useingclones,so,insted ofa whenspritecliked block, it shoud be in the when i start as clone block
- GamingCat12345
-
Scratcher
100+ posts
Why can't I delete my clones?
@dem_bot, actually, inhis code, he is useingclones,so,insted ofa whenspritecliked block, it shoud be in the when i start as clone blockClones read the EVERY event (well, except when green flag clicked) so if the clone is clicked then it will run that code
- abupoo
-
Scratcher
5 posts
Why can't I delete my clones?
My browser / operating system: Windows NT 10.0, Chrome 143.0.0.0, No Flash version detected
when I start as a clone
- abupoo
-
Scratcher
5 posts
Why can't I delete my clones?
when I start as a cloneall of that is the clone block
create clone of [ v]
delete this clone
- ZM562
-
New Scratcher
75 posts
Why can't I delete my clones?
Idk why but Im trying to make a game where there are stages but in one of those stages, you have to click red circles and make them disappear. my code btw.it cause it has to wait for the gliding to end before it gets to the if so use anthro when start as clone for it it should fix itwhen I start as a clone
forever
glide (1) secs to (random position)
if <<touching [mouse pointer v] ?> and <mouse down?>> then
change [red points v] by (1)
hide
delete this clone
end
end
- Born-in-2014
-
Scratcher
8 posts
Why can't I delete my clones?
Everyone, Its supposed to move everywhere until its clicked.
- dem_bot
-
Scratcher
100+ posts
Why can't I delete my clones?
One of the two possibilities in full:
when I start as a clone
repeat until <(Clicked?) = ((CloneID) + (10))>
glide (1) secs to [random positoin v]
end
change [red points v] by (1)
hide
wait until <not<mouse down?>>
set [Clicked? v] to [0]
delete this clone
When I start as a clone
forever
if <<<mouse down?> and <touching [mouse-pointer v] ?>> and <(Clicked?) = (0)>> then
set [Clicked? v] to ((CloneID) + [10]
end