# engineRestoreElementStencil (Client)

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

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

## Syntax

```lua
bool engineRestoreElementStencil(element element)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `element` | `element` | A vehicle, ped, player or object. |

## Returns

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

## Example

```lua
local vehicle = createVehicle("infernus", 2495.0, -1680.0, 13.4)
engineSetElementStencil(vehicle, 2, true)

setTimer(function()
    engineRestoreElementStencil(vehicle)
end, 5000, 1)
```

## See also

- [engineSetElementStencil (Client)](https://wiki.mymp.gg/en/engineSetElementStencil.md): Marks a vehicle, ped or object with a stencil value, which post shaders read for outlines, highlights and similar effects.
- [engineGetElementStencil (Client)](https://wiki.mymp.gg/en/engineGetElementStencil.md): Gives the stencil value a vehicle, ped or object is marked with.
