Debug readout of the current grid target, shown in a RichTextLabel.
Source: addons/grid_placement/debug/grid_targeting_debug_text.gd
Syntax
class GridTargetingDebugText extends PlacementControlMembers
| Name | Kind | Summary |
|---|---|---|
debug_output | Property | The label the debug text is written to. |
display_mode | Property | VERTICAL puts each label and value on its own line. HORIZONTAL puts each category on a single line. |
MAX_BLOCKING_NAMES | Field | |
PLACEHOLDER_VALUE | Field | |
LABEL_STATUS | Field | |
LABEL_MOUSE | Field | |
LABEL_MAP | Field | |
LABEL_INDICATOR | Field | |
LABEL_COLLISIONS | Field | |
LABEL_BLOCKING | Field | |
resolve_placement_dependencies | Method | |
update_collision_labels | 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