> For the complete documentation index, see [llms.txt](https://kap35.gitbook.io/kap-engine-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kap35.gitbook.io/kap-engine-wiki/user-manual/gameobject/create-new-one.md).

# Create new one

### About

### Example

```cpp
/* since KapEngine 1.1 */
int main() {
    // before, KapEngine already init and scene too. The scene in stock in scene variable
    auto gameObject = scene->createGameObject("GameObject Name");
}

/* KapEngine 1.0 */
int main() {
    // before, KapEngine already init and scene too. The scene in stock in scene variable
    auto gameObject = KapEngine::Factory::createEmptyGameObject(scene, "GameObject Name");
}C+
```
