Why can't I break blocks but can place blocks? [duplicate]

I was building and I must have clicked something because I couldn’t break blocks but I could place them. I don’t know if this means something but I was playing Crazycraft.

I tried looking through options but nothing seems to work and I can’t find any videos about this.


You probably activated adventure mode. To disable it, hit ESC and go to settings. Then click on personal mode and change to survival/creative - whatever you want.