CloseOnMove
by heldheld
CloseOnMove lets players close an open inventory, chest or other in-game screen by pressing a movement key, so a quick getaway needs no extra input.
What it does
Pressing W, A, S, D or Space while a screen such as the inventory, a chest, the creative menu or the advancements screen is open closes it immediately. This is useful when a screen is opened by accident in the middle of a fight, for example while a Creeper is hissing nearby. Players can also add other keys to exit the GUIs, which is configured in the closeonmove.json file in the config folder.
CloseOnMove is a Fabric mod released under the MIT License, and its source code is open source. It runs on the client alone, so only the player's game needs it and servers can run without it. Files are published for Fabric across 29 release versions, 1.17 – 1.21.11, and the latest file, 1.0.2+1.21.9-1.21.11, targets 1.21.11 and was released on 2025-10-13. Fabric API is required.
Key features
Movement keys close screens
Pressing W, A, S, D or Space closes an open in-game GUI at once, without reaching for the Escape key.
Covers common screens
The inventory, chests, the creative menu and the advancements screen all respond to movement keys.
Custom exit keys
Other keys can be added to exit GUIs, and the list is set in the closeonmove.json file.
Text fields stay usable
A focused text field keeps accepting keystrokes after the screen closes, so typing into the recipe book or the creative search box is still possible.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Escaping during combat
A player who opens the inventory by mistake during a fight can step away and close the screen in the same motion.
Who it’s for: Players who often switch between the game and menus during play, and who want a faster way to close screens than the Escape key. Mod Menu is optional and can be used to open the settings screen.
How it compares
Keystroke GUI Exit is a client-side only Fabric mod for 1.21 – 26.2 under the GNU Lesser General Public License v2.1 only, and it is open source. Free Move is a client-side only Fabric mod for 1.19.3 under the MIT License, and it is open source. Chat Move is a client-side only Fabric mod for 1.21 – 1.21.11 under the CC0 1.0 Universal license, and it is not open source. CloseOnMove covers a broader range of versions than Free Move and Chat Move, which only cover single releases or a narrow range.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| CloseOnMove | Fabric | 1.17 – 1.21.11 | Client-side only | 2025-10-13 |
| Keystroke GUI Exit | Fabric | 1.21 – 26.2 | Client-side only | 2026-09-03 |
| Free Move | Fabric | 1.19.3 | Client-side only | 2023-03-06 |
| Chat Move | Fabric | 1.21 – 1.21.11 | Client-side only | 2026-07-18 |
Questions
Does CloseOnMove need Fabric API?
Does a server need CloseOnMove installed?
How are the exit keys changed?
In the catalog
CloseOnMove is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 19,862 mods support Minecraft 1.21.11.
Similar mods
What the author says
Close / Exit in-game GUI's using movement keys, so you can make a quick getaway! Are you like me? — Accidentally opening your inventory mid-battle, or panicking and forgetting how to close a chest when you hear the hissing of a Creeper? Then this mod is great for you!
Official listing
- Modrinth page
- modrinth.com/mod/closeonmove
- Owner
- heldheld
- Published
- 2025-06-15
- Updated on Modrinth
- 2025-10-13
- Facts verified
- 2026-10-15
