Shader moves only certain vertices

you could set some vertex color on those,
and use that as an multiplier for moving offset.

is that to make variations for each tree?
could feed world position into the perlin noise, so each tree looks different then.

or maybe someone has simpler solutions?

can also access vertex id’s, in case would hardcode something like if id<10 then move these…