---
name: "flagTexture"
type: command
status: ok
groups: ["Flags"]
arma3_since: "1.54"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/flagTexture
revid: 349339
updated: 2023-11-08T14:53:29Z
---

# flagTexture

*Command · Flags · Arma 3 v1.54*

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

## Description

Returns texture of the [local](../topics/Multiplayer_Scripting.md#locality) instance of the flag. A getter for [setFlagTexture](../commands/setFlagTexture.md). It will not return flag textures applied using [forceFlagTexture](../commands/forceFlagTexture.md), use [getForcedFlagTexture](../commands/getForcedFlagTexture.md) for that.

## Syntax

```sqf
flagTexture flagCarrier
```

**Parameters:**

- `flagCarrier`: [Object](../topics/Object.md) - vehicle, unit or flag pole

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

## Examples

### Example 1

```sqf
_flagTexture = flagTexture _flag1;
```

## See also

[setFlagTexture](../commands/setFlagTexture.md) · Arma 3: Flag Textures

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