When touch is pressed while another actor overlaps or collides with a third actor
3absh
Member Posts: 601
for example i have a button i need to press when an actor is inside another actor.
I can't see "overlaps or collides" except for the actor I am trying to set the rules for.
Is there anyway around this?
Comments
Maybe global Boolean attribute "overlapping"
Rule in second actor.
When overlapping the third actor
Change attribute "overlapping" to true.
In button two conditions.
When pressed
Attribute overlapping is true
Do whatever you need here.