This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| fade_out [2017/04/13 15:11] – external edit 127.0.0.1 | fade_out [2021/04/21 18:30] (current) – justin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ---- | ---- | ||
| - | Fade to black over the specified duration (in seconds). | + | Fades to black over the specified duration |
| + | ====Signature: | ||
| <code python> | <code python> | ||
| - | fade_out(1) | + | fade_out(duration) |
| </ | </ | ||
| ^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
| - | |1|Description.|[[String]]|Yes| | + | |duration|Length of fade (in seconds).|[[Number]]|Yes| |
| ====Example: | ====Example: | ||
| - | < | + | < |
| - | fade_out(1) | + | fade_out(1); |
| </ | </ | ||
| - | // | + | // |
| <WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
| - | Use the **Fade Out** function | + | Use the **Fade Out** and **Fade In** functions |
| </ | </ | ||