---
title: "setRangesFollowActiveClip"
canonical: "https://help.vicon.com/space/Shogun17/13537142/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

## 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/Shogun17/pages/13537699)
- [fastForward](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13540527)
- [getAnimEnd](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536505)
- [getPlayEnd](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536659)
- [getPlayStart](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536657)
- [getTime](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537044)
- [play](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536890)
- [playOptions](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13540542)
- [playRange](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536883)
- [setTime](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537170)
- [step](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537473)
- [stepKey](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537485)
- [stop](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537535)