First create a variable 'background.'
when gf clicked forever if [background v]=  set background to [background 2 p] endThen:
when gf clicked forever if <touching sprite 2> set background to  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)
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