Pages: 1
Topic closed
I'm trying to figure out how to work this, but I drawing a blank.
Heres what I want to happen:
[blocks]<when green flag clicked>
<hide>
<if>
sprite 1 clicked
<end>
<show>
Last edited by coolperson (2010-01-02 14:03:12)
Offline
You should use variables or broadcasts for this.
Broadcasts
Sprite that gets clicked's script:
<if><< <mouse down?> <and> <touching[mouse >>
<broadcast[ Clicked
<end>
Sprite that gets affected's script:
<when I receive[ Clicked
Do some stuff
Last edited by RHY3756547 (2010-01-02 14:17:05)
Offline
RHY3756547 wrote:
You should use variables or broadcasts for this.
Broadcasts
Sprite that gets clicked's script:
<if><< <mouse down?> <and> <touching[mouse >>
<broadcast[ Clicked
<end>
Sprite that gets affected's script:
<when I receive[ Clicked
Do some stuff
OK, thanks!
Offline
Topic closed
Pages: 1