View source
typedef FlickerTweenOptions
package flixel.tweens.misc
import flixel.tweens.misc.FlickerTween
Available on all platforms
Special tween options for flicker tweens
Available since
5.7.0
.Fields
optionaltweenFunction:Null<FlickerTween ‑> Bool>
* An optional custom flicker function, defaults to
* `function (tween) { return (tween.time / tween.period) % 1 > tween.ratio; }`
optionalratio:Null<Float>
* The amount of time the object will show, compared to the total duration, The default is `0.5`,
* meaning equal times visible and invisible.