Godot Version
4.5.1
Question
I have a @tool script with an @export_tool_button:
@export_tool_button("compute_progress") var compute_progress = _compute_progress
compute_progress is a function that may take some time to finish and I don’t want it to be called again before it finishes. Is there a way to disable the button in the UI? I’m currently using a flag in my script to ignore the click while the function is computing but I’d like to have that visual hint in the editor.
Thanks!