How do I reference actors?
RyanLonstein
Member Posts: 1
I want to make it that when, for example, actor 1 is clicked, actor 2 will move to the left, but I'm not sure how to reference another actor 2 within the rules or behaviours of actor 1. How do I do it? Please help.
Thanks
Answers
You need to use game.attributes like a boolean for e.g. if touch is pressed change game.left to true otherwise change game.left to false and in actor 2 if game.left is true do…you can also make self attributes and go through an unlocked actor to access another but as your new start with game.attributes.
Darren.