---
name: "setRectangular"
type: command
status: ok
groups: ["Locations"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setRectangular
revid: 319790
updated: 2022-05-13T09:24:53Z
---

# setRectangular

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

## Description

Set the shape of a location to be either rectangular or elliptical. Locations default shape is elliptical.

## Syntax

```sqf
location setRectangular set
```

**Parameters:**

- `location`: [Location](../topics/Location.md)
- `set`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) set rectangular, [false](../commands/false.md) set elliptical

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

## Examples

### Example 1

```sqf
myLocation setRectangular true;
```

## See also

[setText](../commands/setText.md) · [nearestLocation](../commands/nearestLocation.md) · [nearestLocations](../commands/nearestLocations.md) · [locationPosition](../commands/locationPosition.md) · [nearestLocationWithDubbing](../commands/nearestLocationWithDubbing.md) · [createLocation](../commands/createLocation.md) · [rectangular](../commands/rectangular.md)

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