Question from a beginner

I am very new to Axure so apologies if this is a silly question.
I would like to track an image’s path - the image can be moved manually and i would like a line to appear showing where it has come from. So, a spaghetti diagram of sorts will appear after it has been moved.
Is there a way of doing this?
I have been playing around with it for ages but can’t seem to find any kind of similar function, and and I can’t find anything similar online either.

There’s a few ways you can do it. This thread should help get you started: Connect two rectangles with a straight line