First create a variable 'background.'
when gf clicked forever if [background v]= [2] set background to [background 2 p] endThen:
when gf clicked forever if <touching sprite 2> set background to [2] endI'm not really good with scratchblocks in the forums so I hope you understand.
Last edited by dsaztur (2013-05-06 07:18:11)
Offline
Hi GusDaBoss,
One way would be using broadcasts:
when gf clicked wait until <touching [Other Sprite] ?> broadcast [change background]On one of the sprites
when I receive [change background] next backgroundOn the Stage
Offline