Drag actor with finger

Bilzo12Bilzo12 Member Posts: 70
edited May 2012 in Working with GS (Mac)
Hey everyone I have another question I can't get my character to move when my finger is placed on it for example I want a square to be able to move around the screen when I touch it but I can't do it.

Thanks for reading

Best Answer

  • JohnPapiomitisJohnPapiomitis Posts: 6,256
    Accepted Answer
    Rule: when touch is pressed
    -constrain self position x to mouse position x
    -constrain self position y to mouse position y

Answers

  • Bilzo12Bilzo12 Member Posts: 70
    Thank you will this work with a finger or only mouse
  • Bilzo12Bilzo12 Member Posts: 70
    Ok thanks what would happen if I changed the last bit to touch 1
  • Bilzo12Bilzo12 Member Posts: 70
    I do trust you guys ive followed heaps of your videos @tshirtbooth and when i ask a question or looks through the forums your on almost all the questions ive seen but the problem is I followed what you guys said not the touch but now the actor won't get off what I'm trying to do is when I touch the actor I can move it when I stop it falls.

    Thanks for the help
  • Bilzo12Bilzo12 Member Posts: 70
    edited May 2012
    Thank you guys for the help I'm just sooooooo stupid I forgot to change part of it

    Thank you guys for all of your help
Sign In or Register to comment.