This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| disable_screen_effect [2025/02/16 13:58] – justin | disable_screen_effect [2025/02/16 14:30] (current) – justin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Disable Screen Effect====== | ======Disable Screen Effect====== | ||
| ---- | ---- | ||
| - | Disables either the VHS/CRT monitor effect or the retro effect over a duration of time (in seconds). The second parameter should be a string value of other " | + | Disables either the VHS/CRT monitor effect or the retro effect over a duration of time (in seconds). The second parameter should be a [[string]] value of other " |
| ====Signature: | ====Signature: | ||
| <code python> | <code python> | ||
| - | disable_screen_effect(duration) | + | disable_screen_effect(duration, screen_effect_id) |
| </ | </ | ||
| ^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
| - | |duration| |[[Number]]|No| | + | |duration|Duration of time over which the screen effect will be disabled. Defaults to 0 (instant).|[[Number]]|No| |
| + | |screen_effect_id|ID of the screen effect to disable, either " | ||
| ====Example: | ====Example: | ||
| <code bauxite> | <code bauxite> | ||
| + | disable_screen_effect(2, | ||
| </ | </ | ||
| - | // | + | // |
| <WRAP center round tip 100%> | <WRAP center round tip 100%> | ||