Here is my problem: I want to move an object based off where you touch it. Right now, if you touch my object, it jerks to the reference point, then you can move it. I want my object to move around the touch point. Here is my current code:
local function lift(e)
if e.phase == “began” then
elseif e.phase == “moved” then
box3.x = e.x
box3.y = e.y
elseif e.phase == “ended” then
end
end
box3:addEventListener(“touch”, lift)
How can i fix this? [import]uid: 59735 topic_id: 37291 reply_id: 67291[/import]