# createGameObject

```lua
return function()
    local app = getApp();
    local myObject = app.createGameObject(); --objects can be used for adding images
end
```

{% hint style="info" %}
This is designed to be used with applyImage()...
{% endhint %}

{% content-ref url="../../global-functions/applyimage" %}
[applyimage](https://docs.streamavatars.com/lua-scripting-api/api-reference-and-tips/global-functions/applyimage)
{% endcontent-ref %}
