Queries the id of the GameObject. The id of a GameObject is in the order of creation, starting from 0.
GameObject reference
the id of the GameObject reference
const id0 = create_text('This has id 0');const id1 = create_text('This has id 1');const id2 = create_text('This has id 2');queryGameObjectId(id2); Copy
const id0 = create_text('This has id 0');const id1 = create_text('This has id 1');const id2 = create_text('This has id 2');queryGameObjectId(id2);
Queries the id of the GameObject. The id of a GameObject is in the order of creation, starting from 0.