Use this handy Photoshop keyboard shortcut to see the distance between two objects.
First, select any layer from the Layers Panel. Then while the Move Tool is active, hold Ctrl (Windows) Command (macOS) and hover over any other layer on the canvas. The Smart Guides overlays will reveal the distance between the two layers.
For more tips and tutorials, subscribe to Photoshop Training Channel on YouTube!