I am trying to move an object with the touch using an offset, it seems to work, but when I release the touch, it is teleported to the top left of the screen, I don't understand why, it is as if it ends up in the offset coordinates, what can i do to prevent it?
Touch Touching sprite ->
sprite offset X - Sprite X
sprite offset Y - Sprite Y
Sprite Set position ->
touch X - Sprite offset X
touch Y - Sprite offset Y