Connection between two objects

Hi…
[size=3][font=Times New Roman]I want to ask you a question….[/font][/size]

[size=3][font=Times New Roman]If I had two objects, and I want the second object move with the first one when i moved it, but I want to make a distance between the both, like when I move up with the first object the second object moves up too, but making far than the first by 100 pixel as an example.[/font][/size]

[size=3][font=Times New Roman]I think I must use “setProperty” to create this operate, but what’s code I must write???[/font][/size]