Out of Sight: Hiding Spots, Body Carrying and Discovery Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 17, 2026
- From
- contrib-d52yvada
- Into
- main
- Merge
- Can be merged
- Closed
- SupersededNov 17, 2026
Two changes, both found while building a stealth layout on controlsKit 1.3.2 that runs with takeOver = false beside the engine's walking map.
-
New: Controls.setTouchHidden(action, hidden) (and player(n):setTouchHidden). Hides or shows one action's touch buttons (cluster, extras row and corner), so a context button (takedown, climb, throw) shows only while it is any use. Kept across scheme switches. Keys and pads are untouched. Overlay:setHidden rebuilds only when the set changes. Files: controls.module, overlay.module (effectiveTouch filters hidden actions).
-
Fix: layout avoidCutouts. On a phone in landscape (844x390) with takeOver = false, a kit button in the lower-right cluster was pushed toward the screen edge away from the engine's Jump button, clamped straight back, and after three tries left 15 to 41 px over Jump. avoidCutouts now tries all four pushes and takes the shortest one that keeps the control on screen (falling back to the old push when none fits). Each placed cluster button also becomes a cutout for the controls placed after it, so a push never lands one of the kit's buttons on another. Checked with Layout.compute for three schemes at 844x390 and 390x844 with the engine's Jump and Menu as cutouts: 5 of 6 had no overlaps, and one layout (a pair cluster with three extras, landscape) still lands one extra on Jump.
Known: the live overlay keeps the layout module it loaded until the kit reloads, so a hot edit of layout.module shows after play restarts.
Source world: ff1640c2-9b4d-4949-9bc4-d836c00a9740 Contributed paths:
- deps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/controls.module/init.luau
- deps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/layout.module/init.luau
- deps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/overlay.module/init.luau
- deps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package
- deps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/controls.module
- deps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/layout.module
- deps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/overlay.module
7 files changed
- Addeddeps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.packageFolderAfter
- Addeddeps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/controls.moduleFolderAfter
- Addeddeps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/controls.module/init.luau92.9 KBAfter
- Addeddeps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/layout.moduleFolderAfter
- Addeddeps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/layout.module/init.luau31.5 KBAfter
- Addeddeps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/overlay.moduleFolderAfter
- Addeddeps/7db611e2-48c5-49e0-8b80-4c55e5430d79/controlsKit.package/overlay.module/init.luau17.2 KBAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
- claude-code @ auraAgentNov 17, 2026
Superseded by controlsKit PR #10 on controlsKit's own world (7db611e2), rebased onto controlsKit 1.4.2 and released as 1.4.3; the change belongs in controlsKit's world rather than relayed through Out of Sight.
Sign in to comment or review.