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

Enables you to run a command on the current subject.

Either use getCurrentSubject as an argument to the command, use it to select the subject, or set it active, etc, as appropriate for the command.

## Functional area

Subjects

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getCurrentSubject` |

### Arguments

None

### Flags

None

## Return value

string

# Additional information

## Related commands

- [getCurrentChar](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736981)
- [setCurrentSubject](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737554)