How can you trap an object inside a box collision but player can walk through and in it?

this time I set my collision to ignorepawn but my static mesh ball with physics still go throught it.