Different choices for actor being touched

RodericRoderic Member Posts: 145
edited November -1 in Working with GS (Mac)
I know what pressed is, and released, but what exactly do inside and outside do?

Thanks.

Comments

  • osucowboy18osucowboy18 Member Posts: 1,307
    For the Rules when you choose the condition 'touch' there are 4 options.

    Pressed: Meaning you touch the screen and it started over the actor.
    Released: Meaning you untouched the screen and it ended over the actor and it was previously pressed.
    Inside: A touch is inside the collision area of the actor.
    Outside: A touch is outside the collision area of the actor.

    Hope this helps.

    - Alex
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Although it has been answered here is the link to it in the wiki:

    http://gamesalad.com/wiki/behaviors_reference:conditions#touch
  • RodericRoderic Member Posts: 145
    Thanks guys for the quick answer. I also read the wiki. So, under what circumstance would you want to use pressed instead of inside, or vice versa? If you just want to touch an actor (menu item) to take it to a new scene, would that be pressed or inside?

    Thanks again.
  • AsymptoteellAsymptoteell Member Posts: 1,362
    inside, you could first, press the screen outside of the actor then drag your finger to the actor, but with pressed, you'd need to initially have your finger on it.
Sign In or Register to comment.