Skip to content

HighlightSettings

Settings for manipulating an object in the game world to indicate it as a valid, invalid target, etc

build_preview_color: Color = Color(.6, .6, 1, 0.8)

Adjustment color for any preview sprites to indicate that the instance is a preview and not actually a interactable object in the game

info_hover_color: Color = Color(0.6, 0.7, 0.7, 0.85)

Color to highlight a hover target in info mode

move_valid_color = Color(.2, 1, 0.2, 1)

When move is possible

move_invalid_color = Color(1, 0.2, 0.2, 1)

When move is not possible

active_manipulation_color = Color(0.2, 0.2, 1.0, 0.7)

For objects being moved

demolish_valid_color = Color(.2, 1, 0.2, 1)

When demolishing is possible

demolish_invalid_color = Color(1, 0.2, 0.2, 1)

When demolishing is not possible

reset_color = Color.WHITE

Default reset modulate color

get_editor_issues( ) -> Array[String]

Returns an array of issues found during editor validation

get_runtime_issues( ) -> Array[String]

Returns an array of issues found during runtime validation

addons/grid_building/systems/grid_targeting/highlight_settings.gd


This page was auto-generated from GDScript source. Edit the source file to improve documentation.

Generated on 2025-09-07