diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index 00866f2..00a4ba2 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -219,10 +219,10 @@ /** * Sets a mask for the displayObject. A mask is an object that limits the visibility of an object to the shape of the mask applied to it. - * In PIXI a regular mask must be a PIXI.Graphics object. This allows for much faster masking in canvas as it utilises shape clipping. + * In PIXI a regular mask must be a PIXI.Graphics or a PIXI.Sprite object. This allows for much faster masking in canvas as it utilises shape clipping. * To remove a mask, set this property to null. * - * @member {Graphics} + * @member {Graphics | Sprite} * @memberof PIXI.DisplayObject# */ mask: {