---
name: "setFeatureType"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.68"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setFeatureType
revid: 378060
updated: 2026-02-04T23:41:20Z
---

# setFeatureType

*Command · Object Manipulation · Arma 3 v1.68*

Locality: arguments **global** · effect **local**

## Description

Enable/disable object as a feature/landmark. Possible feature types:
- 0 - Feature disabled
- 1 - Object is always visible within object view distance
- 2 - Object is always visible within terrain view distance

> [!IMPORTANT]
> The limit is **500** map/static objects and **200** dynamic objects including config features and auto features (flying helicopters, airplanes).
>
> The command returns [false](../commands/false.md) if the related limit is reached.

## Syntax

```sqf
object setFeatureType type
```

**Parameters:**

- `object`: [Object](../topics/Object.md)
- `type`: [Number](../topics/Number.md) - the desired feature type

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if the feature is set, [false](../commands/false.md) otherwise (limit reached)

## Examples

### Example 1

Set a building to be always rendered:

```sqf
building setFeatureType 2;
```

## See also

[setViewDistance](../commands/setViewDistance.md) · [setObjectViewDistance](../commands/setObjectViewDistance.md)

## Community notes

**Waffle SS.** — 2017-10-10

For world objects, command effect persists **after mission restart**. Map must be reloaded to automatically revert setting.

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