I recommend using an invisible "target" helper sprite , and having your mask object move to the target's location.
If you use a helper object, you have many options, like spawning it in a container with the base object, pinning it, or using the move at angle action to position it.
By math, the formula to get a point from a set distance and angle from another point is:
Target.X = Origin.X + (distance/cos(angle))
Target.Y = Origin.Y + (distance/sin(angle))
Although you have to make sure not to divide by 0, and sin and cos can definitely end up as 0 so I'm probably missing something there...
Edit: Brain no worky in the middle of night.
Target.X = cos(angle)*distance+Origin.X
Target.Y = sin(angle)*distance+Origin.Y