playMaker

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

jeremiespoken

  • Playmaker Newbie
  • *
  • Posts: 4
Dragging objects in 2d [SOVLED]
« on: September 27, 2017, 11: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, 07:05:29 AM by djaydino »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Dragging objects in 2d
« Reply #1 on: September 28, 2017, 02:53:21 AM »
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
Re: Dragging objects in 2d [SOLVED]
« Reply #2 on: September 29, 2017, 01:27:40 AM »
It worked! Thanks