# GuiInterface.getWorldPosition

Gets the current world position of a world gui

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
guiInterface:getWorldPosition(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/GuiInterface.md#getworldposition)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `gui` | [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The Gui interface |

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The in world position of the gui |
