Is there a way to set up a specific collision?

You are a god thank you so much