# Function: shockwaveTravel() (/pixi-vn/index/functions/shockwaveTravel)



\> **shockwaveTravel**(`center`, `bounds`, `wavelength`, `radius`): `number`

Defined in: [src/tickers/utility/filter-effect-utility.ts:108](https://github.com/DRincs-Productions/pixi-vn/blob/f55707110b4a4bd56fb1c8547285a9aea26fda31/src/tickers/utility/filter-effect-utility.ts#L108)

How far (pixels) a `ShockwaveFilter` ring has to travel to fully leave the component: from `center`
to the farthest corner of `bounds`, plus half a `wavelength` - or just `radius` when the ring is
capped (`radius > 0`).

## Parameters [#parameters]

### center [#center]

#### x [#x]

`number`

#### y [#y]

`number`

### bounds [#bounds]

#### height [#height]

`number`

#### width [#width]

`number`

### wavelength [#wavelength]

`number`

### radius [#radius]

`number`

## Returns [#returns]

`number`
