Creating a mask for “invisible” object

I think I know what you want. I once asked a similar question… look at this thread:

[https://forum.corona-renderer.com/ Create a render element for 'invisible' object? #msg147507](https://forum.corona-renderer.com/ Create a render element for 'invisible' object? #msg147507)