What does the key "tool" mean in godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By phucotaku

I have searched many documents about the keyword “tool” but I still can’t understand what this keyword means, can you explain it to me?

:bust_in_silhouette: Reply From: kidscancode

tool causes the script to be executed in the editor. This is explained in the GDScript docs: