Parameter to be set in sequence

If one would be able to set a parameter like height at the beginning of the sequence and use that as Z variable, this would be great. Now if the plants are growing, I need to change the Z offset for each plant an watering step…