> For the complete documentation index, see [llms.txt](https://builderx.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://builderx.rlib.io/developers/functions/setbuild.md).

# ��  SetBuild

`pl:SetBuild(` [**ᵇᵒᵒˡ**](https://wiki.facepunch.com/gmod/boolean)  state`)`

## ▸ Parameters

&#x20;     ***`bool`**`  ``state`*\
&#x20;                       sets whether player in build mode or not

## ▸ Description

&#x20;        Sets a player's current build mode state.

## ▸ Example

{% tabs %}
{% tab title="Example 1" %}

```lua
local function pl_onjoin( pl )
    pl:SetBuild( false )
end
rhook.new.gmod( 'PlayerInitialSpawn', 'builderx_pl_join_init', pl_onjoin )
```

{% endtab %}
{% endtabs %}
