Add constraint to X or Y axis.