---
title: "getPriority"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736805/getPriority"
format: markdown
---
# Description

Get the name of the priority node.

When working with multiple characters using similar marker sets, the character with priority will be the character whose modules can be selected via script.  
 getPriority will return the name of the character that is currently set to have priority.

## Functional area

Data manipulators

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getPriority` |

### Arguments

None

### Flags

None

## Return value

string

## Examples

```plaintext
select Actor_1;
setPriority;
string $s = `getPriority`;
print $s; 
//Output "Actor_1"
```

# Additional information

## Related commands

- [setPriority](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736578)