How to delay applying exported property values until inspector field loses focus

Godot Version

v4.2.1.stable.official [b09f793f5]

Question

I have an @exported String property in a @tool script. The property’s setter performs a number of operations when the value changes, including emitting a signal and several folder/file manipulations.

The problem is that the Inspector updates the property value with every keypress. Is there anyway to delay the property value update until the Inspector field loses focus WITHOUT having to write a custom InspectorPlugin?

Thanks in advance.

After wasting several days on this approach I’ve decided to abandon use of EditorInspectorPlugin/EditorProperty. Instead I’ve redesigned the UX to use pop-up dialogs which allow greater control over property changes.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.