---
title: "getRate"
canonical: "https://help.vicon.com/space/Shogun112/31230706/getRate"
format: markdown
---
# Description

Retrieves the scene data rate, in frames per second.

## Functional area

Data retrieval

# Command syntax

## Syntax

|  |
| --- |
| `getRate` |

### Arguments

None

### Flags

None

## Return value

float

## Examples

```plaintext
// Set and get the scene rate
int $fps;
playOptions -fps 24;
 
//set play to 24fps 
$fps = `getRate`;
print $fps;
```

# Additional information

## Related commands

- [playOptions](https://vicon-help.atlassian.net/wiki/spaces/Shogun112/pages/31233239)