Is it possible to change multible nodes at once?

Godot Version

4.6.1

Question

I’m trying to change all of my meshes materials into a different one, without changing the files themselves. However I have hundreds of these nodes and while I can select multiple, I have to do it by “Ctrl+A” and so can only add one at a time. It would be preferable to have something that could select all of a specific type of node instead of doing it all manually. Is this achievable?

You can write a small tool script and run it in the editor.

In the search bar you can search for specific node types like this:

t:Sprite2D

This will filter nodes to only Sprite2D, then you can select with Ctrl+A