Discuss Scratch

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

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 clicked
to
when I start as a clone
That should work if I have understood the problem correctly.
CrystalDragon_
Scratcher
20 posts

Help with clones

ContourLines wrote:

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 clicked
to
when I start as a clone
That should work if I have understood the problem correctly.
It now works, thank you!
ContourLines
Scratcher
500+ posts

Help with clones

CrystalDragon_ wrote:

ContourLines wrote:

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 clicked
to
when I start as a clone
That should work if I have understood the problem correctly.
It now works, thank you!
No problem! Happy to help

Powered by DjangoBB