FadeInOut

fun FadeInOut(stepsFadeIn: Int = 20, timeMsFadeIn: Long = 2000, glowOnFinalFadeInStep: Boolean = false, timeMsBeforeFadingOut: Long = 5000, stepsFadeOut: Int = 20, timeMsFadeOut: Long = 2000)

Sources

(source)
Link copied to clipboard