GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

When touch is pressed while another actor overlaps or collides with a third actor

abuabed84abuabed84 Posts: 530Member, PRO

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

  • ToqueToque Posts: 1,181Member

    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.

Sign In or Register to comment.