Change Image of an actor when pressing ANOTHER actor

akimannakimann Member Posts: 62
edited November -1 in Working with GS (Mac)
Hi Salad-Fans!

I tried for 2 hours and didn´t find the answer, so I do have a simple question

How can I change the Image of an actor by pressing another actor,
e.g.

when pressing actor "a" change image of actor "b" to "xy"

Comments

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Make an attribute called IMGChange or something and set it as a Boolean.

    Actor 1 (the one whose image changes) > Create a rule that says when attribute IMGChange = true > change image to xxx > change attribute IMGChange to false

    Actor 2 > When touch is pressed > Change attribute IMGChange to True

    That should do it
    Ace
  • akimannakimann Member Posts: 62
    Hi Ace,

    sometimes things are so easy ;-)

    It work´s! Thank you very much my friend!

    Alex
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    No problem, glad I could help

    Ace
Sign In or Register to comment.