Question
how to make a mask as an object

ok so i had a picture that i want to make become one color, so i use rectangle put it on top and mask it feature. But then when i want to offset this, it become like this (because its rectangle) is there anyway i can make it follow the shape?
