Skip to main content
Version: Phaser v4.0.0-rc.6

Types.Filters

BlockyConfig

<static> BlockyConfig

nametypeoptionaldescription
sizenumber | Phaser.Types.Math.Vector2LikeYesThe size of the blocks. If a number, it sets both x and y to the same value. If a Vector2Like, it sets x and y to the respective values.
offsetnumber | Phaser.Types.Math.Vector2LikeYesThe offset of the blocks. If a number, it sets both x and y to the same value. If a Vector2Like, it sets x and y to the respective values.

Type: object

Member of: Phaser.Types.Filters

Source: src/filters/typedefs/BlockyConfig.js#L1
Since: 4.0.0