# JsonWidget.setPosition

Sets the position of the widget. This will not change the json data position.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
jsonWidget:setPosition( x, y )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `jsonWidget` | [JsonWidget](../Game-Script-Environment/Userdata/JsonWidget.md) | The JsonWidget. |
| `x` | integer | The x position. |
| `y` | integer | The y position. |
