Adobe After Effects CC

Use the Layer Snapping feature

Learn how to use layer snapping to connect layer and mask edges, anchor points, and centers easily to other layers and masks in 3D space. (Watch, 11 min)