Discuss Scratch

g4m3tester24
Scratcher
10 posts

coding

okay so im making a character creator and i have no idea how, i at first used when sprite clicked next costume and the button and item was the same but i want to separate the two like one sprite is the button and the other is the item how do i do that??
deck26
Scratcher
1000+ posts

coding

Not clear what you mean but perhaps a broadcast is what you need.

when this sprite clicked   //sprite A runs this
broadcast [spriteAclicked v]

when I receive [spriteAclicked v] // sprite B receive notification that sprite A was clicked
do something
g4m3tester24
Scratcher
10 posts

coding

ohh okay tysm! i think thats what i need!

Powered by DjangoBB