Sorry for the late reply, but thanks for your detailed answer.
The problem i was trying to solve was that hair was sticking out from outside the hat, due to it being bigger than the hat.
I got the result that I wanted, instead of using clipping attachments, to hide parts of the hair, I instead use mesh deform to shrink parts of the hair to make it fit inside the hat.
This idea doesn’t use animations, it just moves the mesh vertices when a certain skin is applied.
Do you mean it’s better to use scale than to just move the vertices? Would using this method be bad for performance?
Thanks!