Add warning for tweening reactive properties

Added a warning about tweening reactive properties and suggested alternatives.
This commit is contained in:
sindri 2026-03-03 12:28:27 +01:00 committed by GitHub
parent a5903ddd5f
commit 610cf92d39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,6 +55,11 @@ 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).
::: warning
Avoid tweening frequently changing reactive properties directly. Prefer tweening on events (button press, open/close).
For continuous motion, prefer spring.
:::
## Exports
- `vide.tween.tweenTo(instance, goals, tweenInfo?) -> Tween?`