This is a feature when we use tools like Draw.io or PowerPoint.
As you can see below, I have two rectangles on the canvas.
When I drag the green one close enough to the blue one, the green one will be auto attached to the blue one like a magnet.
What's this "auto attached" behavior called in English?
Is there a proper noun for it?