Skip to main content

Controls Guide: Key Bindings & Console Shortcuts

Cookie Clicker controls cover input methods for playing across platforms, using the in-game UI, and opening the browser console for entering commands/cheats. This page summarizes the common control schemes, navigation shortcuts, special-screen controls (Ascension, Garden, Stock Market), mobile layout notes, and how to define and run shortcut functions in the browser console.

General input methods

  • The game supports multiple input devices depending on platform: gamepad (controller), keyboard & mouse, and touch on supported systems.
  • On controllers, use the left stick or D-Pad to move the UI cursor and A to interact/confirm. B closes dialogs/menus. Y performs a cookie click. X toggles free movement mode. LB and RB quickly cycle between the left, middle and right menu splits. LT and RT quick-buy or quick-sell buildings in stacks of 10/100 depending on platform conventions. RT + A vaults or unvaults an upgrade.
  • Keyboard and mouse operate as expected on platforms that support them: click the Big Cookie with the mouse, use the store and upgrade panels, and standard keyboard shortcuts where provided by the platform build.
  • Touch: the Nintendo Switch (and Switch 2) touch screen and mobile builds support tap-based navigation for menus and clicking the cookie.

Mobile layout

  • Mobile dedicates full-screen tabs instead of the three-pane web layout. Tabs include:
    • Cookie — displays the Big Cookie and Wrinklers; the only tab where shimmers appear.
    • Store — shows buildings and upgrades available to buy.
    • Special — contains Legacy, Bingo Center, Krumblor, Season Switcher, etc.
    • Stats — shows full stats and allows viewing previous events, news, upgrades, achievements and Milk.
    • Misc — tip of the day and non-gameplay features.
    • Settings, About (version history), Wipe save (different from ascending), and Alpha status/options may also be available in mobile builds.

Ascension, Garden, Stock Market, and other screens

  • Ascension:
    • RB opens the challenge-mode menu.
    • X triggers reincarnation (confirmations apply).
  • Garden:
    • A controller shortcut LT + RT + A harvests all crops of a selected type or all mature crops.
  • Stock Market:
    • LB and RB browse stocks in the Market UI.
  • Miscellaneous:
    • LB and RB can be used to assign Krumblor auras from the menu when applicable.

Browser console — opening it

The browser console is where you paste and execute JavaScript commands for cheats, scripts, or custom functions.

Common keys to open the developer console:

  • Chrome:
    • Windows: CTRL + SHIFT + I (then select Console). Alternatives: CTRL + SHIFT + J or F12.
    • Mac: ⌘ + ALT + J (or ⌘ + ALT + K / ⌘ + ALT + C) then select Console.
  • Firefox:
    • Windows: F12 or CTRL + SHIFT + K (ensure Console is selected).
    • Mac: ⌘ + OPTION + K.
    • Use the Scratchpad icon on some builds; press CTRL + R to run code entered there.
  • Internet Explorer / Edge (modern versions): use F12 developer tools and select the Console tab.
  • Opera / Opera GX: Ctrl + Shift + C opens developer tools; avoid F12 on some GX builds.
  • Another method for most browsers: type javascript:[your code here] in the address bar and press Enter (note some browsers block or sanitize this in modern versions).

Notes:

  • In the console, a return value of "undefined" can mean the executed code produced no visible return — it does not imply failure.
  • Make sure the Console input area is active (prompt like >>) before typing/pasting commands.

Defining shortcuts (console functions)

If you reuse cheats or multi-line commands, define JavaScript functions in the console to run them with a single call.

  • Define a function: function name(arg1, arg2) { // code here }
  • Call it by typing name() or name(value).
  • Example: a simple click frenzy helper function gimmeClickFrenzy(time) { Game.clickFrenzy = Game.fps * time; Game.recalculateGains = 1; Game.Popup('Click frenzy! Clicking power x777 for ' + time + ' seconds!'); } Calling gimmeClickFrenzy(60) starts a 60-second click frenzy and shows a popup.
  • Functions may accept multiple arguments and perform complex sequences (alerts, toggles, purchases, etc.). Use them to compress repetitive code into a single command.

Practical tips

  • Use controller LB/RB navigation to quickly flip between UI panes where supported rather than repeatedly opening submenus.
  • On mobile, learn which tab contains the feature you need (Cookie for clicking/shimmers, Store for purchases, Special for legacy and seasonal options).
  • When using the console, paste commands carefully and avoid running untrusted scripts. Test small snippets first and define named functions for repeated, complex operations.