---
name: "BIS_fnc_textureVehicleIcon"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_textureVehicleIcon
revid: 327466
updated: 2022-07-12T22:12:10Z
---

# BIS_fnc_textureVehicleIcon

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

## Description

Checks whether icon is defined in CfgVehicleIcons and if so, returns the icon.

## Syntax

```sqf
[wantedIcon] call BIS_fnc_textureVehicleIcon
```

**Parameters:**

- `wantedIcon`: [String](../topics/String.md)

**Returns:** [String](../topics/String.md) - icon texture path, or *wantedIcon* if not found

## Examples

### Example 1

```sqf
private _mediTexture = ["iconManMedic"] call BIS_fnc_textureVehicleIcon;
```

## See also

[BIS_fnc_textureMarker](../functions/BIS_fnc_textureMarker.md)

<sub>Source: [BI Community Wiki — BIS fnc textureVehicleIcon](https://community.bistudio.com/wiki/BIS_fnc_textureVehicleIcon) (revision 327466).</sub>
