diff --git a/rayfield-gen2/windows.mdx b/rayfield-gen2/windows.mdx index ec79b24..17f5532 100644 --- a/rayfield-gen2/windows.mdx +++ b/rayfield-gen2/windows.mdx @@ -141,6 +141,27 @@ The window handle exposes everything you need at runtime. `true` once `Unload` has run. The handle is spent after that. +### Motion + +The interface animates at one pace, set library wide rather than per window. Players can change it under **Animation speed** in the settings tab, and it persists with the rest of their settings. + + + How quickly everything animates. `1` is the pace the interface was designed at, higher is quicker. Clamped between `0.25` and `3`. + + + + The pace in use. + + +```lua +window:SetAnimationSpeed(1.5) -- half again as quick +window:GetAnimationSpeed() -- 1.5 +``` + + + This is a preference about motion rather than a property of one window, closer to a system setting, so two windows open at once always animate at the same pace. + + ### Theme and language