Home › Overview › MainModule › Flux
Type
Types
Function type
luau
type Function = (...any) -> ...anyDict type
luau
type Dict<T> = { [T]: any }Set type
luau
type Set<T> = { [T]: boolean }Symbol type
luau
type Symbol = { type: "Symbol" }New type
luau
type New<Name, Class> = (Name) -> (Class & Dict<any>) -> ClassBaseConstructors type
luau
type BaseConstructors = New<"Folder", Folder>
& New<"BillboardGui", BillboardGui>
& New<"CanvasGroup", CanvasGroup>
& New<"Frame", Frame>
& New<"ImageButton", ImageButton>
& New<"ImageLabel", ImageLabel>
& New<"ScreenGui", ScreenGui>
& New<"ScrollingFrame", ScrollingFrame>
& New<"SurfaceGui", SurfaceGui>
& New<"TextBox", TextBox>
& New<"TextButton", TextButton>
& New<"TextLabel", TextLabel>
& New<"UIAspectRatioConstraint", UIAspectRatioConstraint>
& New<"UICorner", UICorner>
& New<"UIDragDetector", UIDragDetector>
& New<"UIFlexItem", UIFlexItem>
& New<"UIGradient", UIGradient>
& New<"UIGridLayout", UIGridLayout>
& New<"UIListLayout", UIListLayout>
& New<"UIPadding", UIPadding>
& New<"UIPageLayout", UIPageLayout>
& New<"UIScale", UIScale>
& New<"UISizeConstraint", UISizeConstraint>
& New<"UIStroke", UIStroke>
& New<"UITableLayout", UITableLayout>
& New<"UITextSizeConstraint", UITextSizeConstraint>
& New<"VideoFrame", VideoFrame>
& New<"ViewportFrame", ViewportFrame>
& New<string, Instance>
& { [Symbol]: Dict<any> }Constructor type
luau
type Constructor = (<T>(T & Instance) -> (T & Dict<any>) -> T) & BaseConstructorsAnimatable type
luau
type Animatable = number
| CFrame
| Color3
| ColorSequenceKeypoint
| DateTime
| NumberRange
| NumberSequenceKeypoint
| PhysicalProperties
| Ray
| Rect
| Region3
| Region3int16
| UDim
| UDim2
| Vector2
| Vector2int16
| Vector3
| Vector3int16