Phaser API Documentation

  Version: 
setBitmap(renderable)

Description:

Sets a new masking Game Object for the Bitmap Mask.

Parameters:

name type description
renderable Phaser.GameObjects.GameObject

A renderable Game Object that uses a texture, such as a Sprite.

Since: 3.0.0