Skip to content

Class

PlacementPanel

Generated GDScript class reference for GridPlacement.PlacementPanel.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

The build-mode panel where players pick what to place: the object catalog and, optionally, the terrain palette, with tabs to switch between them.

Source: addons/grid_placement/ui/placement_panel/placement_panel.gd

Syntax

class PlacementPanel extends PanelContainer

Members

NameKindSummary
enable_terrain_palettePropertyWhen on, the panel has Objects and Terrain tabs. When off, it shows only the object catalog.
startup_routePropertyWhich tab the panel opens on: - OBJECTS or TERRAIN: always that tab. - LAST_REMEMBERED: the tab used last time (saved in user://), or OBJECTS the first time. - SELECTION_REQUIRED: neither, until the player picks a tab. Which tab the panel opens on. See StartupRoute.
place_router_uiPropertyThe Objects/Terrain tabs.
scene_entry_selection_uiPropertyThe object catalog panel.
terrain_palette_uiPropertyThe terrain palette (used only when enable_terrain_palette is on).
min_widthPropertyMinimum panel width in pixels.
max_widthPropertyMaximum panel width in pixels.
width_ratioPropertyPanel width as a share of the screen width, kept between min_width and max_width.