Transition
Up and coming: shot check knows this datatype and its members today, and programs run it once the native runtime lands.
comingWindows and UI
Up and coming
How a visible change eases: pick a length and a curve, and nothing on screen snaps.
Transition.new(seconds, curve) takes Modify, BasicCurve, BasicCurve2, BasicCurve3, Linear or a Curve. A UIObject eases by Transition.new(0.7, "Modify") by default; Transition.None follows at once, for something under a drag, and SetTransition gives one property its own.
local function example(x : Transition)
local frame = Instance.new("Frame")
frame.Transition = Transition.new(0.35, "BasicCurve")
frame:SetTransition("Position", Transition.None)
endConstructors
| Name | Arguments | Returns | Description |
|---|---|---|---|
| Transition.new | (seconds: number, curve: CurveName | Curve) | Transition |
Constants
| Name | Type | Description |
|---|---|---|
| Transition.None | Transition |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Seconds | number | How long the easing takes, as given to Transition.new. |
