Sets the amount of time for which a message remains visible before beginning to fade out. For the duration of the fade-out animation, see :SetFadeDuration().

Signature:

MessageFrame:SetTimeVisible(time)

Arguments:

  • time - Amount of time for which a message remains visible before beginning to fade out (in seconds) (number)