move/drag an actor by touching

chrislugerchrisluger Member Posts: 3
edited November -1 in Working with GS (Mac)
I'm very new… I was wondering if someone could help me. Could someone please outline the steps in how I would make an actor move by dragging my finger(mouse). Thanks so much, I appreciate any help to get me started.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    In the actor you want to touch and drag make 2 rules.

    The first one have when touch is pressed then drag in a constrain attribute behavior and constrain attribute self position x to mouse position x

    then in the second rule have when touch is pressed drag in a constrain attribute behavior and constrain attribute self position y to mouse position y
  • chrislugerchrisluger Member Posts: 3
    Thanks! I'm just a beginner, but I'll give it a shot!
Sign In or Register to comment.