---
title: "getAnimEnd"
canonical: "https://help.vicon.com/space/Shogun18/13668724/getAnimEnd"
format: markdown
---
# Description

The getAnimEnd command automatically identifies the last frame in the animation range.

The value returned may be assigned to an integer variable.

## Functional area

Data retrieval

# Command syntax

## Syntax

|  |
| --- |
| `getAnimEnd` |

### Arguments

None

### Flags

None

## Return value

integer

returns the frame number of the animation Range

## Examples

```plaintext
int $end = `getAnimEnd`;
print $end;
// In this example, an integer variable named $end is declared and 
// assigned the output of the getAnimEnd command.
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [animRange](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668868)
- [fastForward](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13675005)
- [getPlayEnd](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13669036)
- [getPlayStart](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13669034)
- [getTime](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13669006)
- [play](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668278)
- [playOptions](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13674976)
- [playRange](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668302)
- [setRangesFollowActiveClip](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668061)
- [setTime](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668087)
- [step](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668782)
- [stepKey](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668780)
- [stop](https://vicon-help.atlassian.net/wiki/spaces/Shogun18/pages/13668778)