Base class for things that can be placed: objects and terrains. Do not create this directly. Use ScenePlacementEntry for objects or TilePlacementEntry for terrains.
Source: addons/grid_placement/placement/placement_entry.gd
Syntax
class PlacementEntry extends PlacementResourceMembers
| Name | Kind | Summary |
|---|---|---|
icon | Property | Icon shown in the UI. |
id | Property | Stable id for save files and for referring to this entry from your own systems. Keep it unchanged once it is in use. |
placement_rules | Property | Rules checked only for this entry. For a TilePlacementEntry, use TilePaintRules. |
ignore_base_rules | Property | When on, the base rules and profile rules are skipped and only placement_rules are checked. |
get_display_name | 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