learn about : geometric constrain in autocad || dimension in autocad || autocad tutorial 2020.
You can define geometric constraints between 2D objects or points on objects. When you later edit the constrained geometry, the constraints are maintained.