How do I make an actor have collision detection?

is there a way to ignore a certain object so it won’t be destroyed when it hits it?