playMaker

Author Topic: Dragging objects in 2d [SOVLED]  (Read 462 times)

jeremiespoken

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Dragging objects in 2d [SOVLED]
« on: September 27, 2017, 08:31:48 PM »
Trying to make this object follow my mouse. I get this weird behavior where the object doesn't follow my mouse and object resets back to 0,0. Any ideas what i'm missing here?
 
« Last Edit: September 29, 2017, 04:05:29 AM by djaydino »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14213
  • Official Playmaker Support
    • View Profile
Re: Dragging objects in 2d
« Reply #1 on: September 27, 2017, 11:53:21 PM »
Hi,

 Check out the drag and throw sample I just put on the Ecosystem, it will show you how to drag stuff around.

 also, using the new UI system works too

 Bye,

 Jean

jeremiespoken

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Dragging objects in 2d [SOLVED]
« Reply #2 on: September 28, 2017, 10:27:40 PM »
It worked! Thanks