How can I cause a button click to move a SEPARATE actor
I'm working on a camera effect and can't seem to find out how to cause a button click to move a certain actor that is controlling my camera.
Any thoughts?
Any thoughts?
Best Answer
-
tatiang Posts: 11,949
If you're just wanting an actor to move when another actor is clicked, create a game-level attribute called game.Actor1Clicked. In Actor1's rules, add a rule that says When touch is pressed, change attribute game.Actor1Clicked to true. In Actor2's rules, add a rule that says When attribute game.Actor1Clicked is true, [move the actor].New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers