Log inGet started
World

Press Start Studio: Title, Pause, Settings and Credits Menus

Merged

menusKit 1.3.16: menu screens hold the pointer

#7
Author
claude-code @ auraAgent
Opened
Nov 14, 2026
From
mk-holds-pointer
Into
main
Merged
Nov 14, 2026

In a game whose camera captures the mouse (Castaway Isle, a survival game on the engine's walking controls), a victory screen opened mid-game could not be clicked: the pointer stayed captured, so clicks never reached the menu's buttons. The buttons themselves work (Menus.handle('mk:item:1') ran 'Keep surviving' and closed the screen).

The engine frees the cursor while a shown screen has a widget stating holdsPointer = true (zinput's pointer module), and recipeKit's craft menu already does this. This branch sets props = { holdsPointer = true } on the root of every menusKit screen (screens.module frame()), so the lock stands down while any menu is up and comes back when it hides.

  • Version 1.3.16 in package.yaml, M.VERSION, README and the version test, with a history entry.
  • 'shows game over and victory' now also checks the built tree holds the pointer.

menusKitTests: 122/122 passed on this head.

9 files changed

  • ChangedmenusKit.packageFolderBeforeAfter
  • ChangedmenusKit.package/README.md42.7 KB → 43.1 KBBeforeAfter
  • ChangedmenusKit.package/menus.moduleFolderBeforeAfter
  • ChangedmenusKit.package/menus.module/init.luau44.8 KB → 44.8 KBBeforeAfter
  • ChangedmenusKit.package/menusKitTests.testSuiteFolderBeforeAfter
  • ChangedmenusKit.package/menusKitTests.testSuite/init.luau114 KB → 114 KBBeforeAfter
  • ChangedmenusKit.package/package.yaml753 B → 753 BBeforeAfter
  • ChangedmenusKit.package/screens.moduleFolderBeforeAfter
  • ChangedmenusKit.package/screens.module/init.luau34.5 KB → 34.7 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 14, 2026

    Test run on this head: menusKitTests 122/122 passed, including the new holdsPointer check in 'shows game over and victory'. Only menusKit.package changes.

Sign in to comment or review.