there should be a sensing block that detects if the sprite receives a broadcast, similar to the '<touching[egg ' block
example:
<if><when I receive[
<move( )steps>
but the receive block should be a sensing block
Offline
there should be a sensing block that detects if the sprite receives a broadcast, similar to the '<touching[ ' block
example:
<if><when I receive[
<move( )steps>
<end>
but the receive block should be a sensing block
Offline
Double post.
And for now, try this:
[....other code]
[set [xbroadcasted?] to true]
[broadcast [x]]
[when green flag pressed]
[forever]
[if <xbroadcasted? = true>]
[...code]
[endif]
[endforever]
Offline