---
title: "getCurrentLabel"
canonical: "https://help.vicon.com/space/Shogun17/13536371/getCurrentLabel"
format: markdown
---
# Description

Retrieves the name of the current label. The current label is what a marker will be labeled if a manual labeling operation is performed.

## Functional area

Data retrieval

# Command syntax

## Syntax

|  |
| --- |
| `getCurrentLabel` |

### Arguments

None

### Flags

None

## Return value

string

Returns a string with the same of the current label.

## Examples

```plaintext
// Get the current label.
string $currentLabel = `getCurrentLabel`;
print $currentLabel ;
```