That's because when you copy a script with from the background with a "change background" script to a sprite, the sprite can't use the block because it isn't in the list of blocks sprites can have so it returns an error (the red outline). The equivalent of change background to a sprite is "change costume", so you either have to change the background-only block to the change costume block, or you remove the change background block altogether.
Offline
One way to do it is to have the sprite send a Broadcast message when it touches the item. Then, set the Stage up with a "When I Receive" block that changes the background when it gets the message.
Offline
Sprite:
<when green flag clicked>
<forever>
<if> <touching[ edge
<broadcast[ change background
Background:
<when I receive[ change background
[next background]
Last edited by registeel (2008-10-05 06:06:57)
Offline