About breaking object

I am having problems with walking into an object it triggers which is good but how do I do it so I can walk into the object to enable pushing a to break the object

keyboard (a)- [in]switch- destroyer8
collision (player)- [on]switch

*behavior for the block
*use the same switch

ok thx but how do I make it when I leave it cancels being broken like it works to break but how do I cancel when I leave it