Function Entity.fadeOut
Starts a "fade-out" opacity tween (from 1 to 0)
Tween* fadeOut(
double duration,
Easing easing = Easing.Linear
);
Parameters
| Name | Description |
| duration | Duration in seconds. |
| easing | Easing function (default: Linear). |
Returns
Pointer to the tween.