# Interface: Ticker<TArgs> (/pixi-vn/index/interfaces/Ticker)



Defined in: [src/tickers/interfaces/Ticker.ts:5](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L5)

## Type Parameters [#type-parameters]

### TArgs [#targs]

`TArgs` *extends* [`TickerArgs`](/pixi-vn/index/interfaces/TickerArgs)

## Properties [#properties]

### alias [#alias]

\> `readonly` **alias**: `string`

Defined in: [src/tickers/interfaces/Ticker.ts:21](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L21)

Get the alias of the ticker class. This variable is used in the system to get the ticker class by id, [RegisteredTickers.getInstance](/pixi-vn/index/namespaces/RegisteredTickers/functions/getInstance)

***

### args [#args]

\> **args**: `TArgs`

Defined in: [src/tickers/interfaces/Ticker.ts:9](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L9)

Arguments to pass to the ticker

***

### canvasElementAliases [#canvaselementaliases]

\> **canvasElementAliases**: `string`\[]

Defined in: [src/tickers/interfaces/Ticker.ts:29](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L29)

The aliases of the canvas elements that are connected to this ticker

***

### complete [#complete]

\> **complete**: (`options?`) => `void` | `Promise`\<`void`>

Defined in: [src/tickers/interfaces/Ticker.ts:33](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L33)

Completes the animation and applies the final state.

#### Parameters [#parameters]

##### options? [#options]

###### ignoreTickerSteps? [#ignoretickersteps]

`boolean`

#### Returns [#returns]

`void` | `Promise`\<`void`>

***

### duration? [#duration]

\> `optional` **duration?**: `number`

Defined in: [src/tickers/interfaces/Ticker.ts:13](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L13)

Duration in seconds to run the ticker

***

### id [#id]

\> `readonly` **id**: `string`

Defined in: [src/tickers/interfaces/Ticker.ts:25](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L25)

The id of the ticker. Must be unique for each ticker instance.

***

### pause [#pause]

\> **pause**: () => `void`

Defined in: [src/tickers/interfaces/Ticker.ts:45](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L45)

Pauses the animation.

#### Returns [#returns-1]

`void`

***

### paused [#paused]

\> `readonly` **paused**: `boolean`

Defined in: [src/tickers/interfaces/Ticker.ts:54](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L54)

Checks if the ticker is paused.

#### Returns [#returns-2]

true if the ticker is paused, false otherwise.

***

### play [#play]

\> **play**: () => `void`

Defined in: [src/tickers/interfaces/Ticker.ts:49](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L49)

Plays the animation.

#### Returns [#returns-3]

`void`

***

### priority? [#priority]

\> `optional` **priority?**: `UPDATE_PRIORITY`

Defined in: [src/tickers/interfaces/Ticker.ts:17](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L17)

Priority of the ticker

***

### start [#start]

\> **start**: () => `void`

Defined in: [src/tickers/interfaces/Ticker.ts:41](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L41)

Starts the ticker. This will start the ticker and begin the animation.

#### Returns [#returns-4]

`void`

***

### stop [#stop]

\> **stop**: () => `void`

Defined in: [src/tickers/interfaces/Ticker.ts:37](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/tickers/interfaces/Ticker.ts#L37)

Stops the animation at its current state, and prevents it from resuming when the animation is played again.

#### Returns [#returns-5]

`void`
