1681-engine / index / followReducedMotion
Function: followReducedMotion() ​
ts
function followReducedMotion(query?): () => void;Defined in: src/platform/reducedMotion.ts:47
Sets engineSettings.reducedFx from the system setting now and whenever it changes. Returns the unsubscribe; the setting keeps its last value afterwards. A game with its own "reduced effects" toggle should not call this, or the system would overwrite the player's choice — mirror its own store instead.
Parameters ​
| Parameter | Type |
|---|---|
query | MotionQuery | null |
Returns ​
() => void