skeleton:setDefaultMix()

Type: function

Overview:


Sets the default mix duration (in milliseconds) for transitions between animations that don’t have a specific mix time configured.

Syntax:


skeleton:setDefaultMix(mix)
  • mix (required):

    number – The default mix duration in milliseconds.

Example:


hero:setDefaultMix(300)  -- 0.3 second default transitions