Edit
Types
Selection type
type Selection = { any }ClassSelector type
type ClassSelector = <T>(className: T | keyof<Type.Editable>) -> (Type.EditProperties<Fallback<T>>) -> SelectionQuerySelector type
type QuerySelector = (query: string) -> (Type.Map<any>) -> SelectionParentSelector type
type ParentSelector = () -> (Type.Map<any>) -> SelectionProperties
Defaults Read Only
Edit.Defaults: { [string]: { [string]: unknown } }Functions
edit
new
Edit.new(className: string, properties: any): Instancesplit
Edit.split(props: any, keys: any, ...: any): ...anyPartitions props into one table per keys group plus a final table holding every remaining key, leaving props untouched. Pass a schema table or an annotated key-literal array ({ "label" | "onClick" }) to preserve exact Pick/Omit types on a single group.
local OWN: { "label" | "onClick" } = { "label", "onClick" }
local own, rest = Flux.split(props, OWN)Flags
defaults
Edit.Flags.defaults: booleanControls whether Flux.new applies the per-class Flux.Defaults table to new instances (true by default). AutoButtonColor = false is still applied to TextButton and ImageButton even when false.
Find
Ancestor Read Only
Edit.Find.Ancestor: QuerySelectorSelects the first ancestor named name via Instance:FindFirstAncestor and applies the property table to it.
AncestorClass Read Only
Edit.Find.AncestorClass: ClassSelectorSelects the first ancestor of class className via Instance:FindFirstAncestorOfClass and applies the property table to it.
AncestorIsA Read Only
Edit.Find.AncestorIsA: ClassSelectorSelects the first ancestor matching IsA(className) via Instance:FindFirstAncestorWhichIsA and applies the property table to it.
Child Read Only
Edit.Find.Child: QuerySelectorSelects the first direct child named name via Instance:FindFirstChild and applies the property table to it.
ChildClass Read Only
Edit.Find.ChildClass: ClassSelectorSelects the first direct child of class className via Instance:FindFirstChildOfClass and applies the property table to it.
ChildIsA Read Only
Edit.Find.ChildIsA: ClassSelectorSelects the first direct child matching IsA(className) via Instance:FindFirstChildWhichIsA and applies the property table to it.
Descendant Read Only
Edit.Find.Descendant: QuerySelectorSelects the first descendant named name via Instance:FindFirstChild(name, true) and applies the property table to it.
Parent Read Only
Edit.Find.Parent: ParentSelectorSelects the target's Instance.Parent and applies the property table to it (Find.Parent() { ... }).
Path Read Only
Edit.Find.Path: QuerySelectorWalks a .-separated child path from the target (Parent or ^ climbs to Instance.Parent) and applies the property table to the final Instance.
Query Read Only
Edit.Find.Query: QuerySelectorSelects every descendant matching a Roblox query string via Instance:QueryDescendants and applies the property table to each match.
QueryFirst Read Only
Edit.Find.QueryFirst: QuerySelectorSelects the first descendant matching a Roblox query string via Instance:QueryDescendants and applies the property table to it.