Module 11 · In your browser · challenge 2 of 2 in this lesson
Fix the rule cell and ShopApp.luau
A code cell with the real Luau runner grades it. No Studio needed.
Open
Level 2, Builder
Challenge
Pass the code cell above (or challenges/capstone_mobile.luau in Studio), then update Close in src/client/ShopApp.luau and check it by eye. The pass code covers the first two criteria only. Solution: challenges/solutions/capstone-trail-ui.md.
- Start from
- The game at milestone m14 (download)
- Check it here
- Run the code cell; the challenge completes when it passes. No Studio needed.
- Or grade it in Studio
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("capstone_mobile", "capstone-mobile")in the server command bar. Copy the pass code from Output.
Done means
- thumbOk returns true only when both width and height are at least 48
- wrenchBindings returns Touch, F and ButtonR2
- Manual check, not covered by the pass code: in your own src/client/ShopApp.luau, Close has height 48 and the panel height is 640 so nothing clips