# Function: tickerDecorator() (/jsdoc/pixi-vn/index/functions/tickerDecorator)



\> **tickerDecorator**(`name?`): (`target`) => `void`

Defined in: [src/canvas/tickers/decorators/RegisteredTickers.ts:32](https://github.com/DRincs-Productions/pixi-vn/blob/efc9536feda21bc17c50370f5e35fd8d8d88843a/src/canvas/tickers/decorators/RegisteredTickers.ts#L32)

Is a decorator that register a ticker in the game.
Is a required decorator for use the ticker in the game.
Thanks to this decoration the game has the possibility of updating the tickers to the latest modification and saving the game.

## Parameters [#parameters]

### name? [#name]

`string`

is th identifier of the label, by default is the name of the class

## Returns [#returns]

(`target`) => `void`
