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
func get_editor_issues( ) ->

Array

[

String

]

Returns an array of issues found during editor validation
func get_runtime_issues( ) ->

Array

[

String

]

Returns an array of issues found during runtime validation

addons/grid_building/systems/grid_targeting/highlight_settings.gd


This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.