Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Animate the mask in a Sprite Mask

Discussion in '2D Experimental Preview' started by johnburkert, Sep 27, 2017.

  1. johnburkert

    johnburkert

    Joined:
    Mar 28, 2014
    Posts:
    9
    Hello, Is there a way to animate the mask in a Sprite Mask? For example, let's say you have a square as a mask and you want to stretch it into a rectangle to reveal more of the sprite it is masking.
     
  2. johnburkert

    johnburkert

    Joined:
    Mar 28, 2014
    Posts:
    9
    I figured this out, I can animate a spritemask, I was under the impression sprites had to be a child of the mask (so transformations would mess with the children), but this isn’t the case.