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

Enables you to set the current subject.

## Functional area

Subjects

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `setCurrentSubject SubjectName` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `SubjectName` | string | yes | Name of required subject or "All" |

### Flags

None

## Return value

void

# Additional information

## Related commands

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