# setResolution

```lua
return function()
    local app = getApp();
    app.setResolution(900, 900); --this removes fullscreen toggle and becomes windowed
end
```
