1. group objects
2. choice gradient tool
3. select NEW options "mask transparent"
4. set gradient transparent that is linear or gradient in opacity and non opacity point
5. add transparent to my object or group objects
Result: obeject be automatic add transparent mask