# Function: warpIn() (/pixi-vn/index/namespaces/transitions/functions/warpIn)



\> **warpIn**(`alias`, `component?`, `props?`, `priority?`): `Promise`\<`string`\[] | `undefined`>

Defined in: [src/canvas/functions/canvas-transition.ts:2794](https://github.com/DRincs-Productions/pixi-vn/blob/f55707110b4a4bd56fb1c8547285a9aea26fda31/src/canvas/functions/canvas-transition.ts#L2794)

Show a image in the canvas with a warp effect: the image arrives out of radial zoom-blur streaks,
like dropping out of hyperspace. See [WarpInOutProps](/pixi-vn/index/interfaces/WarpInOutProps).
When replacing an existing component, waits for its out animation before starting the entrance.

## Parameters [#parameters]

### alias [#alias]

`string`

The unique alias of the image. You can use this alias to refer to this image

### component? [#component]

`TComponent`

The imageUrl, array of imageUrl or the canvas component. If you don't provide the component, then the alias is used as the url.

### props? [#props]

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

The properties of the effect

### priority? [#priority]

`UPDATE_PRIORITY`

The priority of the effect

## Returns [#returns]

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

A promise that contains the ids of the tickers that are used in the effect. The promise is resolved when the image is loaded.
