---
name: "setSize"
type: command
status: ok
groups: ["Locations"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setSize
revid: 377130
updated: 2026-01-01T10:24:37Z
---

# setSize

*Command · Locations · Arma 3 v0.50 · introduced in Armed Assault v1.08*

## Description

Sets the size (radius)  of a location.

The width  is 2 * x, the height is 2 * y.

## Syntax

```sqf
location setSize [x,y]
```

**Parameters:**

- `location`: [Location](../topics/Location.md)
- `x`: [Number](../topics/Number.md)
- `y`: [Number](../topics/Number.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
myLocation setSize [10,30];
```

## See also

[size](../commands/size.md)

<sub>Source: [BI Community Wiki — setSize](https://community.bistudio.com/wiki/setSize) (revision 377130).</sub>
