Godot 4.4 introduced a new annotation, @export_tool_button
, which allows you to add a button to the Inspector and link executable code to it. In this video, I demonstrate one of the useful applications of this new feature.
One-click 3D model to 2D sprite in Godot 4.4 (tutorial)