How to make actor move in a certain area?

MOVProductionsMOVProductions Member Posts: 53
edited November -1 in Working with GS (Mac)
Hay I was just wondering how you make an actor move in a certain area without being able to crossover that area and only could be dragged in there?

Comments

  • orbnooborbnoob Member Posts: 79
    well for the drag say

    when actor is touched
    move to position touch x, for the x, and touch y, for the y

    then for not leaving you going to have to find the coordinints (x and y) of the box, and simply make a rule so it only moves the object when your touch x and y are inside the coordinates of box's x and y
  • MOVProductionsMOVProductions Member Posts: 53
    orbnoob said:
    well for the drag say

    when actor is touched
    move to position touch x, for the x, and touch y, for the y

    then for not leaving you going to have to find the coordinints (x and y) of the box, and simply make a rule so it only moves the object when your touch x and y are inside the coordinates of box's x and y

    But those are the coordinates of the box not the area size
Sign In or Register to comment.