Command params
EntityCreateParams
Parameters of
entity.create.Fields
id
option<string>ID of the new entity: a symbol (
$crate) that later calls in the batch can use, or a concrete unused record ID. Minted when absent.default null
name
option<string>Display name.
default null
parent
option<entity>Parent entity; absent creates a root. May be inside a prefab instance.
default null
index
option<u32>Position among the parent's children; absent appends.
default null
components
option<map<json>>Components to add, by type name;
{} uses every default.default null