Discuss Scratch

Pioneer_Games
Scratcher
3 posts

Clones having independent variables

Im having trouble getting clones to use the variables for themselves without interfering other clones variables, Example: Lets say, Ants or so right? I take the ant sprite and clone it 3 times or so I want each clone to use 1 variable for themselves.
(Job)
this is the variable. I want the 1st clone to set this to Get Food and the other 2 set to None. But if I do this it makes ant 1 set its job to none as well. This is a problem! (the ant thing is a example)
scratcherboiz101
Scratcher
97 posts

Clones having independent variables

Okay, I think I know someone on Scratch who is amazing with this exact stuff (I think!).

Here is their profile link:
https://scratch.mit.edu/users/gor-dee/

Happy Scratching!

Jay Christaldi
PutneyCat
Scratcher
500+ posts

Clones having independent variables

Select “for this sprite only” when you create the variable. Then each clone will have its own independent version of that variable.
Pioneer_Games
Scratcher
3 posts

Clones having independent variables

PutneyCat wrote:

Select “for this sprite only” when you create the variable. Then each clone will have its own independent version of that variable.

that doesnt work for what im doing. It never worked

Powered by DjangoBB