Creating distance indicator



I would like to create the distance indicator for my prototype on Axure. Similar to how sketch and figma have their distance indicator when dragging one shape closer to another.

The distance indicator changes upon real time when dragging one shape.

I would like to replicate it on Axure for my project and was wondering if the condition builder will be able to achieve it.

Would appreciate if anybody could provide some suggestions.

Thank you!