Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with clones
- CrystalDragon_
-
Scratcher
20 posts
Help with clones
So I have the following code:
https://i.ibb.co/pJ1QwyR/D2-C04-E05-C683-4708-9795-B2-D35-FEDEB2-C.jpg
I’m trying to make it so that when the location variable is set to Prey pile and the clone’s costume is 1, it shows, but otherwise its hidden. I’ll have multiple clones on a page in the future.
Currently the clones don’t show up.
Can anyone help?
Edit: the clones actually do show up when I only click the flag once
https://i.ibb.co/pJ1QwyR/D2-C04-E05-C683-4708-9795-B2-D35-FEDEB2-C.jpg
I’m trying to make it so that when the location variable is set to Prey pile and the clone’s costume is 1, it shows, but otherwise its hidden. I’ll have multiple clones on a page in the future.
Currently the clones don’t show up.
Can anyone help?
Edit: the clones actually do show up when I only click the flag once
Last edited by CrystalDragon_ (Dec. 18, 2021 08:08:18)
- ContourLines
-
Scratcher
500+ posts
Help with clones
I presume you want to run that script on the clones? Basically, that will be running the script on the original sprite itself, not the clones. Change the
when green flag clickedto
when I start as a cloneThat should work if I have understood the problem correctly.
- CrystalDragon_
-
Scratcher
20 posts
Help with clones
I presume you want to run that script on the clones? Basically, that will be running the script on the original sprite itself, not the clones. Change theIt now works, thank you!when green flag clickedtowhen I start as a cloneThat should work if I have understood the problem correctly.
- ContourLines
-
Scratcher
500+ posts
Help with clones
No problem! Happy to helpI presume you want to run that script on the clones? Basically, that will be running the script on the original sprite itself, not the clones. Change theIt now works, thank you!when green flag clickedtowhen I start as a cloneThat should work if I have understood the problem correctly.

- Discussion Forums
- » Help with Scripts
-
» Help with clones