Command params
PrefabInstantiateParams
Parameters of
prefab.instantiate.Fields
prefab*
asset<prefab>The prefab, as
@path#id, @path or @#id.required
id
option<string>ID of the instance: a symbol (
$door) or a concrete unused record ID. Minted when absent.default null
name
option<string>Display name; absent keeps the prefab root's name.
default null
parent
option<entity>Parent entity; absent creates a root.
default null
index
option<u32>Position among the parent's children; absent appends.
default null
position
option<vec3>Local position of the instance.
default nullm