mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Fix formatting and spacing in animation.md
This commit is contained in:
parent
f706207e6e
commit
a5903ddd5f
1 changed files with 11 additions and 11 deletions
|
|
@ -51,21 +51,21 @@ Returns a new source with a value always moving torwards the input source value.
|
||||||
|
|
||||||
# tween
|
# tween
|
||||||
|
|
||||||
A small TweenService wrapper that provides ergonomic tweening helpers and optional presets.
|
A small TweenService wrapper that provides ergonomic tweening helpers and optional presets.
|
||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
||||||
## Exports
|
## Exports
|
||||||
|
|
||||||
- `vide.tween.tweenTo(instance, goals, tweenInfo?) -> Tween?`
|
- `vide.tween.tweenTo(instance, goals, tweenInfo?) -> Tween?`
|
||||||
- `vide.tween.tween(goals, tweenInfo?) -> Action` (optional, if you implemented the Action form)
|
- `vide.tween.tween(goals, tweenInfo?) -> Action` (optional, if you implemented the Action form)
|
||||||
- `vide.tween.presets` (optional)
|
- `vide.tween.presets` (optional)
|
||||||
|
|
||||||
## tweenTo()
|
## tweenTo()
|
||||||
|
|
||||||
Tweens an instance to a set of goal properties.
|
Tweens an instance to a set of goal properties.
|
||||||
|
|
||||||
### Type
|
### Type
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
tweenTo(instance: Instance, goals: { [string]: any }, tweenInfo: TweenInfo?) -> Tween?
|
tweenTo(instance: Instance, goals: { [string]: any }, tweenInfo: TweenInfo?) -> Tween?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue