---
title: "getCurrentChar"
canonical: "https://help.vicon.com/space/Shogun114/196382242/getCurrentChar"
format: markdown
---
# Description

Retrieves the name of the current character (subject) in the **Labeling** panel.

## Functional area

Subjects

# Command syntax

## Syntax

|  |
| --- |
| `getCurrentChar` |

### Arguments

None

### Flags

None

## Return value

string

Returns a string with the name of the current character.

## Examples

```plaintext
// Get the current Character. 
string $curCharacter = `getCurrentChar`;
print $curCharacter;
```

# Additional information

## Related commands

- [getCurrentSubject](https://vicon-help.atlassian.net/wiki/spaces/Shogun114/pages/196379871)
- [getLabelerChars](https://vicon-help.atlassian.net/wiki/spaces/Shogun114/pages/196393536)
- [setCurrentSubject](https://vicon-help.atlassian.net/wiki/spaces/Shogun114/pages/196388894)