forgot to include tween presets in animation.md

This commit is contained in:
sindri 2026-03-03 13:57:15 +01:00 committed by GitHub
parent 4edaddf151
commit cebd460e53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,6 +55,8 @@ Returns a new source with a value always moving torwards the input source value.
This module is designed for UI animations (size, position, transparency, colour, etc.). It is safe to `require` in non-Roblox environments (it should fall back to applying goals instantly).
The following 4 tween presets are included; `instant`, `fast`, `smooth`, and `snappy`.
::: warning
Avoid tweening frequently changing reactive properties directly. Prefer tweening on events (button press, open/close).
For continuous motion, prefer spring.