Version: Unity 6 (6000.0)
Language : English
Sprite masks
Create a sprite mask

Hide or reveal parts of a sprite with a mask

Mask Interaction controls how the SpriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
Renderer interacts with Sprite MasksA texture which defines which areas of an underlying image to reveal or hide. More info
See in Glossary
. Select either Visible Inside Mask or Visible Outside Mask from the drop-down menu. The examples below demonstrate the effect of each option with a square Sprite and a circle Mask:

To interact with a Sprite Mask, select Visible Inside Mask or Visible Outside Mask from the drop-down menu.

With Visible Inside Mask With Visible Outside Mask


SpriteRenderer

Sprite masks
Create a sprite mask