Skip to content

API > AnimationState > weight


AnimationState.weight⚓︎

Name Type
weight number

Description⚓︎

The weight of animation.

Extra Detail⚓︎

Weights are distributed so that the top layer gets everything. If it doesn't use the full weight then the next layer gets to distribute the remaining weights and so on. Once all weights are used by the top layers, no weights will be available for lower layers anymore Unity uses fair weighting, which means if a lower layer wants 80% and 50% have already been used up, the layer will NOT use up all weights. instead it will take up 80% of the 50%.