Godot Engine
Toggle a comment
To toggle a comment in Godot Engine, press Ctrl + K. On a Mac, press Cmd + K instead.
Where it works: Script editor
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdK |
| Windows | Desktop app | CtrlK |
Where this comes from
Default editor shortcuts - Godot Engine 4.6 documentation
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.