# engineSetRenderScale (Client)

> Sets the fraction of the window's resolution the 3D scene is rendered at. The image is then scaled up to the window's size.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Graphics settings
- **URL**: https://wiki.mymp.gg/en/engineSetRenderScale

## Syntax

```lua
bool engineSetRenderScale(float scale)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `scale` | `float` | From 0.5 to 1. Anything else raises an error. |

## Returns

`true` if the setting was applied, `false` if the renderer is not running.

The setting applies to the whole client and stays after the resource stops.

## Example

```lua
engineSetRenderScale(0.75)
```

## See also

- [engineGetRenderScale (Client)](https://wiki.mymp.gg/en/engineGetRenderScale.md): Returns the fraction of the window's resolution the 3D scene is rendered at.
- [engineGetRenderResolution (Client)](https://wiki.mymp.gg/en/engineGetRenderResolution.md): Returns the size in pixels the scene is rendered at and the size of the final image in the window.
- [engineSetSharpness (Client)](https://wiki.mymp.gg/en/engineSetSharpness.md): Sets how much the final image is sharpened.
