I'd like an object to be solid, but enemies to go by it as if it's not

http://flowlab.io/game/view/1396588

The key object in both levels 1 and 2 is the ticket to the next level. So player needs to touch it, but enemies very simple ai has them turn around when they hit a wall. I guess I could have them reverse direction when they hit anything, but that still limits level design somewhat. How can the object only detect the player as a solid?

You could make the key not solid, and add a proximity check to trigger instead of a collision

Thanks! That was a very easy and quick fix.