component question

When the player is in creative mode, if you try to break a block with a sword in your hand it doesn't allow you to do it and just hits the block. Is there an item component I can use to transfer this feature to an axe for example?

Continue to help post