# engineRestoreModelStencil (Client)

> Removes the stencil mark this resource set with `engineSetModelStencil`.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Materials and shaders
- **URL**: https://wiki.mymp.gg/en/engineRestoreModelStencil

## Syntax

```lua
bool engineRestoreModelStencil(string|element model)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `model` | `string\|element` | The model's name or a `model` element. |

## Returns

`true` if this resource had a mark there, `false` if not.

## Example

```lua
addCommandHandler("nooutline", function()
    engineRestoreModelStencil("kmb_atm1")
end)
```

## See also

- [engineSetModelStencil (Client)](https://wiki.mymp.gg/en/engineSetModelStencil.md): Marks every instance of a model with a stencil value, which post shaders read for outlines, highlights and similar effects.
- [engineGetModelStencil (Client)](https://wiki.mymp.gg/en/engineGetModelStencil.md): Gives the stencil value a model is marked with.
