Answer to title of post:
You can get the distance between two points using vector math. There are many libraries out there, including math2d which is part of SSK2.
Using math2d, if you have any object, event, or table with an x and y you can get the distance between them as follows:
local obj1 = display.newCircle( 100, 100, 10) local obj2 = display.newCircle( 175, 213, 10 ) --https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/math2D/#distance-between local dist = ssk.math2d.distanceBetween( obj1, obj2 )
or you could do it this way:
local obj1 = display.newCircle( 100, 100, 10) local obj2 = display.newCircle( 175, 213, 10 ) -- https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/math2D/#subtraction local vec = ssk.math2d.sub( obj1, obj2 ) -- https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/math2D/#length local dist = ssk.math2d.length( vec )
Answer to body of post, what? Ah, yes I can think of many ways to move objects but I don’t know about your game constraints to answer this question meaninfully.
PS - Was this posted from a mobile device? Train of though questions are very hard to understand and answer. 
Please try to use more line breaks and separate paragraphs for legibility please.
Take some time to clearly structure your posts with fewer sub-questions and more clear examples and you’ll get better help.