canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

TweenInfoRoblox✎

How a tween moves, without saying what it moves. One TweenInfo can drive any number of tweens.

Pending review

TweenInfo1TimeQuadEasing StyleOutEasing Directi…defaultRepeat CountdefaultReversesdefaultDelay
  • needs the Roblox engine — its datatypes, its DataModel or its scheduler
  • pure — no execution pins, wire it anywhere
  • names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals

Inputs

  • Time:number= 1
  • Easing Style:string= "Quad"literalfrom a list
    Offers 11 values to pick from, and takes anything else typed in.
  • Easing Direction:string= "Out"literalfrom a list
    One of Out, In, InOut — or anything else, typed in.
  • Repeat Count:number= 0
  • Reverses:boolean= false
  • Delay:number= 0

Outputs

  • result:TweenInfo

What it compiles to

luau
print(TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out))

Warning

Easing Style, Easing Direction are typed in directly and pasted into the generated source, so it cannot be wired from a value. The editor refuses the connection rather than letting it fail at compile time.

Not reviewed yet