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

Gets the percentage of the subject's markers that are labeled.

The Issues map displays the percentage of markers that are labeled as a percentage of the total number of markers in the subject's labeling skeleton (see [Get an overview with the time bar Issues map](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13340562/Check+data+quality#TimebarIssuesMap)

> Macro (scroll-only-inline)



). This command enables access to this information.

## Functional area

Data Retrieval

# Command syntax

## Syntax

|  |
| --- |
| `getPercentSubjectLabeled 'subjectName or all'` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `subjectName` | string | yes | The name of the subject or all. |

### Flags

None

## Return value

float, with range 0.0 to 100.0 

> Macro (scroll-pagebreak)

## Examples

`// Get percent labeled of current subject at current frame`   
` string $cs = `getCurrentSubject`;`   
` float $pl = `getPercentSubjectLabeled $cs`;`   
` print $pl;`

`// Get percent labeled of all subjects at current frame`   
` float $pl = `getPercentSubjectLabeled "all"`;`   
` print $pl;`

`// Get percent labeled of paul at current frame`   
` float $pl = `getPercentSubjectLabeled "paul"`;`   
` print $pl;`