> 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/getbuild.md).

# GetBuild

`pl:GetBuild( )`

## ▸ Parameters

&#x20;      None

## ▸ Description

&#x20;        Returns player's build state\
&#x20;                **true**   : player in build mode\
&#x20;                **false** : player in pvp mode

## ▸ Example

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

```lua
local function check_build( pl )

    local bBuild = pl:GetBuild( )
    
    if bBuild then
        print( 'player in build mode' )
    else
        print( 'player in pvp mode' )
    end
    
end
```

{% endtab %}
{% endtabs %}
