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

This command sets a key on the selected module to the base value (default is zero). The operation can be applied to the selected ranges or to the entire play range using the appropriate flags, or just the current frame if no flags are supplied.

## Functional area

Data editing

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `zeroKey [-primaryOnly] [-ranges] [-all]` |

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `primaryOnly` | 0 | — | — | Operate on the primary selected module only |
| `ranges` | 0 | — | all | Set the keys to the base value only on the frames within the selected ranges |
| `all` | 0 | — | ranges | Set the keys to the base value on the whole play range |

## Return value

void

> Macro (16dcb1b2-c6fb-4c23-a096-38455b87e6a8/1fa5e51a-a28e-46e1-9b5c-734b339f025f/static/scroll-pagebreak)

## Examples

```plaintext
// Select a marker
select Marker_1;
zeroKeys -all;
```