Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Clone costumes
- Tasmainiac
-
8 posts
Clone costumes
I used a broadcasted event to spawn clones using in-game buttons and now all clone sprites are changing how do i fix
when I receive [ v]
switch costume to [ v]
create clone of [myself v]
- Tasmainiac
-
8 posts
Clone costumes
I need a way to assign types to the clones but i only know how to do it with random spawning instead controlling what spawns and what doesn't
- LordOfTheChairs
-
29 posts
Clone costumes
Could you be more specific? If you have only certain events trigger certain sprites to make their clones, you shouldn't have any issue. What exactly are you looking to accomplish?
- Tasmainiac
-
8 posts
Clone costumes
I am trying to assign costumes to only specific clones ie. a group of one type of clone has one costume and a different group has another. The game has 2 different buttons that spawn 2 different types of clones, but when pressed, it turns all existing clones into a the costume its assigned to instead of just making a new clone with the set costume. I need a way to make the buttons spawn one clone with the costume its assigned to, instead of just changing all the clones.
- blockygenius37
-
71 posts
Clone costumes
Try these scripts:
Button 1 script:

Button 1 script:
when this sprite clickedButton 2 script:
set [Costume] to [1]
create clone of [Other Sprite]
when this sprite clickedOther sprite clone script:
set [Costume] to [2]
create clone of [Other Sprite]
when I start as a cloneIf you have questions, let me know and I’ll answer them.
if <[Costume] = [1]> then
switch costume to [costume1]
else
switch costume to [costume2]
end

- Discussion Forums
- » Help with Scripts
-
» Clone costumes