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



\> **shakeEffect**(`alias`, `options?`, `priority?`): `Promise`\<`string`\[] | `undefined`>

Defined in: [src/canvas/functions/canvas-effect.ts:13](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/canvas/functions/canvas-effect.ts#L13)

Shake the canvas element.
If there is a/more ticker(s) with the same alias, then the ticker(s) is/are paused.

Parameters [#parameters]

alias [#alias]

`string`

options? [#options]

[`ShakeEffectProps`](/jsdoc/pixi-vn/index/interfaces/ShakeEffectProps) = `{}`

priority? [#priority]

`UPDATE_PRIORITY`

Returns [#returns]

`Promise`\<`string`\[] | `undefined`>
