Groups variants of one object into a single catalog slot. Players cycle through the variants with the left/right arrows (shown when there are two or more), for example Basic Tower, Heavy Tower, Rapid Tower. Each variant keeps its own placement rules. Add sequences to SceneEntrySelectionUI.sequences or put them in its SceneEntrySelectionUI.sequences_folder. var tower_sequence := SceneEntrySequence.new() tower_sequence.display_name = "Defense Towers" tower_sequence.scene_entries = [basic_tower, heavy_tower, rapid_tower]
Source: addons/grid_placement/scene_entries/scene_entry_sequence.gd
Syntax
class SceneEntrySequence extends PlacementResourceMembers
| Name | Kind | Summary |
|---|---|---|
display_name | Property | Name of the sequence as a whole. |
scene_entries | Property | The variants, in the order players cycle through them. |
icon | Property | Optional icon for the sequence as a whole. |
count | Method | |
get_variant | Method | |
variant_display_name | Method | |
get_editor_issues | Method | |
get_runtime_issues | Method |
Guides that use this class
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot