---
name: "speaker"
type: command
status: ok
groups: ["Unit Identity", "Sounds"]
arma3_since: "1.02"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/speaker
revid: 319837
updated: 2022-05-13T09:25:34Z
---

# speaker

*Command · Unit Identity, Sounds · Arma 3 v1.02*

## Description

Returns the speaker class name of a unit.

## Syntax

```sqf
speaker unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)

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

## Examples

### Example 1

```sqf
speaker player; // Can return "male09eng"
```

## See also

[setSpeaker](../commands/setSpeaker.md)

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