Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit15ce14a4c1

README.md

Replace a scene source input

Apply a reviewed input replacement atomically with its regenerated scene and source bindings. Authored overrides remain composed over the generated result.

local report=tools.use("sceneAuthoring","reviewSources",{limit=20})
local input=report.inputs[1]
local result=tools.use("sceneAuthoring","replaceSource",{
    review=report.review,owner=input.owner,id=input.id,
    replacement='"New name"',outputs=input.outputs,
})

Replacement is source text: use SourceEditing.literal for a Luau scalar and Json.encode for a JSON value. JSON inputs must be consumed through SourceEditing.read during candidate evaluation. Supply every reviewed output identity. For one placement, choose an input scoped to that placement. Changed review receipts and incomplete output scopes are refused. Unconfirmed outcomes include the transaction identity and scope for recovery.