Phaser API Documentation

  Version: 
setTileScale([x], [y])

Parameters:

name type arguments Default description
x number <optional>

The horizontal scale of the tiling texture. If not given it will use the current tileScaleX value.

y number <optional> x

The vertical scale of the tiling texture. If not given it will use the x value.

Returns:
Description:

This Tile Sprite instance.

Since: 3.12.0