How can I cast a shadow over an invisible object?

Its that possible? I know you can make an object invisible to cast shadow, but what I want is, make the object invisible, and visible any cast shadow over that invisible object. I Hope that makes sense.
Thanks!

You can take a look at this forum-thread, but it only works with a plane as shadowcatcher…

Thank you I will take a look!

Yes, you can.

Is it the thing you want?