---
name: "getBoneNames"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "2.18"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getBoneNames
revid: 369763
updated: 2024-10-08T15:08:57Z
---

# getBoneNames

*Command · Object Manipulation · Arma 3 v2.18*

## Description

Returns an array of bone names and their parents.

## Syntax

```sqf
getBoneNames object
```

**Parameters:**

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

**Returns:** [Array](../topics/Array.md) of [String](../topics/String.md)s - bone names and bone parents in separate arrays, in format: [[bone1, bone2,...], [parent1, parent2, ....]]

## See also

[selectionPosition](../commands/selectionPosition.md) · [selectionNames](../commands/selectionNames.md) · [getSelectionBones](../commands/getSelectionBones.md)

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