Skip to content

HomeOverviewFluxMotion

DataType

Types

Animatable type

Functions

unpack

luau
DataType.unpack(arr: { number }, t: string): any

Unpacks an array of numbers into a given animatable data type

unpacker

luau
DataType.unpacker(t: string): (({ number }) -> any)

Returns the unpacker for an animatable type

pack

luau
DataType.pack(arr: { number }, value: Animatable, t: string)

Packs an animatable type into an array of numbers; an unanimatable type leaves (and returns) the array empty