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

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

## Functional area

Playback control

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `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;
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [animRange](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135807)
- [fastForward](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135016)
- [getAnimEnd](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135276)
- [getPlayEnd](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416134681)
- [getPlayStart](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135236)
- [getTime](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135788)
- [play](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135141)
- [playOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135683)
- [playRange](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135629)
- [setTime](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416136449)
- [step](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416136340)
- [stepKey](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416135128)
- [stop](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost122/pages/1416139457)