======Fade Out======
----
Fades to black over the specified duration of time (in seconds). [[fade_in|Fade In]] would typically be called at some point after this function to fade the screen back into view.
====Signature:====
fade_out(duration)
^Argument^Description^Type^Required^
|duration|Length of fade (in seconds).|[[Number]]|Yes|
====Example:====
fade_out(1);
//Results:// The screen fades to black over a duration of one second.
Use the **Fade Out** and **Fade In** functions to transition between segments of a cutscene or as a way to hide visual modifications to the scene (e.g. removing a character or object).
----
====Editor Node:====
{{:wiki:fade_out_node.png?nolink|}}
====Visual Demo:====
{{:wiki:fade_out_demo.gif?nolink|}}
~~NOTOC~~