Phaser API Documentation

  Version: 
setTint(topLeft, [topRight], [bottomLeft], [bottomRight])

Description:

Sets the tint of each group member.

Parameters:

name type arguments description
topLeft number

The tint being applied to top-left corner of item. If other parameters are given no value, this tint will be applied to whole item.

topRight number <optional>

The tint to be applied to top-right corner of item.

bottomLeft number <optional>

The tint to be applied to the bottom-left corner of item.

bottomRight number <optional>

The tint to be applied to the bottom-right corner of item.

Returns:
Description:

This Group object.

Since: 3.21.0