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

This command selects <span style="color: #1d1c1d">keys on an object that are outside a specified rotation range. It can be useful when cleaning markerless data.</span>

## Functional area

Data Retrieval

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `selectKeysOutsideRotationRange min max[-ranges] ` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `min` | vector | yes | Minimum rotation as an Euler angle |
| `max` | vector | yes | Maximum rotation as an Euler angle |

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `ranges` |  | — | — | This command by default operates on the entire play range. When this flag is present, it causes the command to operate on only the selected time range |

## Return value

void