4 Replies Latest reply on Nov 13, 2016 12:09 PM by brainfruit

    Make a mask follow cursor / mouse movement

    brainfruit

      I'm creating a little game where the user moves their mouse to reveal a scene inside a building - they need to find an object. To do this, I'm creating a group of animated objects that comprise the contents of the house, and masking them with a circle. When the user moves their mouse, they 'reveal' the contents of the house.

       

      The problem I am having is that I can't find a way to make the mask 'stick' to the mouse cursor. All the tutorials I find are either unsuited to the problem or aimed at edge animate or flash.

       

      Can anyone help to solve the problem? I have a feeling it's really simple and I'm not seeing the solution

       

      Thanks!