Quickly switch game mode in Minecraft?

de
4

I have already seen in many YouTube videos how some people change the game mode very quickly, and this appears:

Quickly switch game mode in Minecraft

How does it work? (Is that only possible with OptiFine?)

Re

Just press F3+ F4

(But only goes up in 1.16)

de

Thank you.

Qu

F3+ N can switch from Creative to Spectator and vice versa

Otherwise you can change the game mode with F3+ F4 from version 1.16.

El

Hm. I don't know exactly why, but it doesn't work for me. Always only opens the debug screen. Version 1.16.4, but must always use the FN key.