Chris' Tutorials
Docs/Grid Placement

Class

PlaceableSequence

Generated GDScript class reference for GridPlacement.PlaceableSequence.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

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 PlacementSystem 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
variant_resourceProperty
display_nameProperty
get_editor_issuesMethod
validation_issuesProperty
current_placeableProperty
placeable_validation_issuesProperty
get_runtime_issuesMethod
runtime_validation_issuesProperty
current_placeableProperty
comprehensive_placeable_issuesProperty

Source

addons/grid_placement/placeables/placeable_sequence.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs