From d4ad076299a79760dc8a1deff07093164585cdf2 Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Tue, 13 Aug 2024 11:57:06 +0100 Subject: [PATCH] Update animation-properties.md --- 9.0/animation-properties.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/9.0/animation-properties.md b/9.0/animation-properties.md index c158be65f..52ea96c38 100644 --- a/9.0/animation-properties.md +++ b/9.0/animation-properties.md @@ -16,6 +16,30 @@ Restores animation properties to the defaults set in [`__scribble_config_animati   +## `scribble_anim_disabled(state)` + +**Returns**: N/A (`undefined`) + +|Name |Datatype|Purpose | +|-------|--------|-------------------------------------------| +|`state`|boolean |Whether to enable or disable text animation| + +Disabling text animations is a common accessibility requirement and is useful for people who have diminished eyesight or find it disorientating to read rapidly moving text. + +?> Disabling text animations will **not** disable typist animations. + +  + +## `scribble_anim_get_disabled()` + +**Returns**: Boolean, whether text animations are disabled + +|Name|Datatype|Purpose| +|----|--------|-------| +|None| | | + +  + ## `scribble_anim_wave(size, frequency, speed)` **Returns**: The text element