Phaser API Documentation

blitter(x, y, key, [frame])


Creates a new Blitter Game Object and adds it to the Scene.

Note: This method will only be available if the Blitter Game Object has been built into Phaser.


name type arguments description
x number

The x position of the Game Object.

y number

The y position of the Game Object.

key string

The key of the Texture the Blitter object will use.

frame string | number <optional>

The default Frame children of the Blitter will use.


The Game Object that was created.

Since: 3.0.0