---
title: "createBoneVirts"
canonical: "https://help.vicon.com/space/Shogun16/13340056/createBoneVirts"
format: markdown
---
# Description

Create virtual markers for all selected bones in the scene, and animate them across the animation range. Useful for the creation of nodes that will be used to control an IK rig.

## Functional area

Data editing

# Command syntax

## Syntax

|  |
| --- |
| `createBoneVirts [-joint]` |

### Arguments

None

### Flags

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `joint` | 0 | — | — | Use this option to create a virtual marker at the joint's position |

## Return value

string array

Returns a string array containing the names of the added markers

## Examples

```plaintext
// load an ASF/AMC pair
// select bones
selectByType BoneNode;
createBoneVirts -joint;
```