---
name: "BIS_fnc_objectType"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.08"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_objectType
revid: 327120
updated: 2022-07-12T21:44:51Z
---

# BIS_fnc_objectType

*Function · Object Manipulation · Arma 3 v1.08*

## Description

Return object category and type.

## Syntax

```sqf
anObject call BIS_fnc_objectType
```

**Parameters:**

- `anObject`: [String](../topics/String.md) or [Object](../topics/Object.md)

**Returns:** [Array](../topics/Array.md) - in format [category, type]. One of:

| Soldier | Vehicle / VehicleAutonomous | Logic | Object |
|---|---|---|---|
| - AT<br>- Civilian<br>- Diver<br>- Infantry<br>- Medic<br>- MG<br>- Officer<br>- Pilot<br>- Sniper<br>- SpecialForces<br>- UAVPilot | - Car<br>- Helicopter<br>- Motorcycle<br>- Plane<br>- Ship<br>- StaticWeapon<br>- Submarine<br>- TrackedAPC<br>- Tank<br>- WheeledAPC | - Logic<br>- Module | - Ammobox<br>- Animal<br>- Backpack<br>- Camera<br>- Church<br>- Effect<br>- Fire<br>- Flag<br>- Helipad<br>- House<br>- Marker<br>- Mine<br>- Parachute<br>- Seagull<br>- Sound<br>- Target<br>- Thing<br>- Trigger<br>- UnknownObject<br>- VASI<br>- Wreck |

## Examples

### Example 1

```sqf
private _myType = player call BIS_fnc_objectType;
```

### Example 2

```sqf
private _myType = "B_MRAP_01_F" call BIS_fnc_objectType;
```

## See also

[typeOf](../commands/typeOf.md) · [countType](../commands/countType.md) · [isKindOf](../commands/isKindOf.md)

<sub>Source: [BI Community Wiki — BIS fnc objectType](https://community.bistudio.com/wiki/BIS_fnc_objectType) (revision 327120).</sub>
