Skip to content

Class

PlaceableSequence

Generated GDScript class reference for GridPlacement.PlaceableSequence.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

Groups multiple placeable variants under a single selectable slot for UI selection. PlaceableSequence allows players to cycle through related building variants (e.g., Basic Tower → Heavy Tower → Rapid Tower) before placing on the grid. Each sequence contains an ordered array of ScenePlacementEntry resources that share a common purpose but have different properties, visuals, or functionality. Key Features:

  • Ordered variant collection with left/right cycling in UI
  • Automatic arrow button display when 2+ variants exist
  • Compatible with PlaceableList and PlaceableSequenceSelectionUI
  • Validation delegation to individual ScenePlacementEntry objects Usage Example: [codeblock] var tower_sequence := PlaceableSequence.new() tower_sequence.display_name = "Defense Towers" tower_sequence.placeables = [basic_tower, heavy_tower, rapid_tower] [/codeblock] Integration:
  • Use with PlaceableSequenceSelectionUI for tabbed variant selection
  • Compatible with existing GridPlacementHost placement workflow
  • Each variant maintains its own placement rules and validation

Source: addons/grid_placement/placeables/placeable_sequence.gd

Syntax

class PlaceableSequence extends PlacementResource

Members

NameKindSummary
display_nameProperty
placeablesProperty
iconProperty
countMethod
get_variantMethod
variant_display_nameMethod
get_editor_issuesMethod
get_runtime_issuesMethod