ACTIONS & ANIMATIONS
The Tint class provides an action that modifies an object's color.
Creates an action that tints an object by combining its current color with the one that is passed as an argument:
tint_by_action = Tint.by color: Color.from_hex('5269d6') character.run_action tint_by_action
Creates an action that tints an object to the color that is provided as an argument:
tint_to_action = Tint.to color: Color.from_hex('5269d6') character.run_action tint_to_action
This action doesn't support "reverse".
duration: - Float - Default: 0.3
Sets the total duration time of the Action.