---
title: "TimeStep"
description: "API documentation for TimeStep"
url: https://developer.disguise.one/python-api/docs/timestep/
---

# TimeStep

See also: [Track & Sequencing Guide](/plugins/guides/track-and-sequencing)

Base class: _\_BlipEnum_

## Variables

#### **OneFrame** = 0

#### **FiveFrames** = 1

#### **TenFrames** = 2

#### **FifteenFrames** = 3

#### **OneSecond** = 4

#### **TwoSeconds** = 5

#### **FiveSeconds** = 6

#### **FifteenSeconds** = 7

#### **Max** = 8

#### **GuiState** = 9

## Constructors

#### **\_\_init\_\_**(self)

Default constructor for TimeStep

#### **\_\_init\_\_**(self, other: _[TimeStep](/python-api/docs/timestep#timestep)_)

Copy constructor for TimeStep

## Methods

#### **toString**(self) -> _str_

The name of this enumerator, or an empty string if its value is not a named enumerator

## Static Methods

#### **fromInt**(arg0: _int_) -> _[TimeStep](/python-api/docs/timestep#timestep)_

The enumerator with the given integer value, which need not be one of the named enumerators

## Special Methods

#### **\_\_index\_\_**(self) -> _int_

The integer value of this enumerator, for use as a list index

#### **\_\_int\_\_**(self) -> _int_

The integer value of this enumerator

#### **\_\_repr\_\_**(self) -> _str_

The enum and enumerator names, as ; str() and print give the same

#### **\_\_lt\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_le\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_gt\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError

#### **\_\_ge\_\_**(self, other: _Self | int_) -> _bool_

Orders by integer value; ordering against a different enum raises TypeError
