If it is one object moving to another use:
X move to Y
or a complicated version:
X move [(X) distance to (Y)] toward target Y
If you want an object to come down to the ground use:
X move down [(X) distance above (ground)]
Or if you simply want to moniter the altitude or distance from an object:
create a variable
Variable set value [(X) distance to (Y)]
3dtext set text to [(variable) as a string] OR print [(variable) as a string]