As you may know, the wall rect will not update since its a copy and not a reference. Is there a way for me to make a reference or pointer to r and not change this code? I suppose i could do a find/replace in the function but that something i try not to do.
//code to get wall
var r = wall.r;
//more code
r.Height += yDif;