---
name: "className"
type: command
status: ok
groups: ["Locations"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/className
revid: 318707
updated: 2022-05-13T09:21:21Z
---

# className

*Command · Locations · Arma 3 v0.50*

## Description

Returns short name of location. For config class name, see [configName](../commands/configName.md)

## Syntax

```sqf
className location
```

**Parameters:**

- `location`: [Location](../topics/Location.md)

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

## Examples

### Example 1

```sqf
_shortName = className myLocation;
```

## See also

[setText](../commands/setText.md) · [createLocation](../commands/createLocation.md) · [deleteLocation](../commands/deleteLocation.md) · [drawLocation](../commands/drawLocation.md) · [locationPosition](../commands/locationPosition.md) · [locationNull](../commands/locationNull.md) · [nearestLocation](../commands/nearestLocation.md) · [nearestLocations](../commands/nearestLocations.md) · [nearestLocationWithDubbing](../commands/nearestLocationWithDubbing.md) · [name](../commands/name.md)

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