Skip to content
Untitled Sandbox - Developer Documentation
docs/types/TweenOptions

TweenOptions

The settings you pass to Instance:tween to choose where an instance moves or how it changes, and how long that takes.

Fields

position
vector?
The position the instance moves to by the end of the tween.
rotation
vector?
The rotation in degrees that the instance turns to by the end of the tween.
color
The color the instance changes to by the end of the tween.
size
vector?
The size the part grows or shrinks to, which only works on parts.
transparency
number?
How see-through the instance becomes, from 0 for fully solid up to 1.
duration
number
How many seconds the tween takes to reach its target values.
easing
string?
How the change speeds up and slows down: linear, or quad, sine, cubic, quart, expo, back, bounce or elastic followed by _in, _out or _in_out.
lineardefaultquad_out
↑ ↓ moveEnter openEsc close