---
title: "setRangesFollowActiveClip"
canonical: "https://help.vicon.com/space/Shogun113/84218105/setRangesFollowActiveClip"
format: markdown
---
# Description

Sets the play range to follow the active clip's play range.

## Functional area

Playback control

# Command syntax

## Syntax

|  |
| --- |
| `setRangesFollowActiveClip boolVal` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `boolVal` | integer | yes | True | False | Toggle |

### Flags

None

> Macro (scroll-pagebreak)

## Return value

void

## Examples

```plaintext
// Set play range to follow the active clips play Range.
setRangesFollowActiveClip true;
```

# Additional information

## Related commands

- [animRange](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84221208)
- [fastForward](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84225601)
- [getAnimEnd](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84221696)
- [getPlayEnd](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84225808)
- [getPlayStart](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84221261)
- [getTime](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84224298)
- [play](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84224272)
- [playOptions](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84219788)
- [playRange](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84227128)
- [setTime](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84215809)
- [step](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84215572)
- [stepKey](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84224486)
- [stop](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84226367)