Log inGet started
World

Raise the Roof: Build Mode, Snapping and Base Pieces Kit

README.md

BuildMode

A build zone, and what turns build mode on for every player. Put it on an entity (or call Build.BuildMode{} in a scene's build.luau): the entity's position is the centre of the zone, and in play every player presses B (gamepad Y, or the Build button on a touch screen) to build inside it. Its fields choose the zone's style, ghost look, build menu, snap mode, size, prices, refund rate and allowed pieces; empty fields take the kit's defaults from Build.setup. Each frame the first zone to tick drives this player's build controller (buildPlaceKit.controller). It needs no sibling components.