Change gridmap material in godot 4?

Godot Version

v4.2.1.stable.mono.official [b09f793f5]

Question

How can I change the material of a gridmap to make a preview?

I know in Godot 3.x you can do
_preview.material_override.albedo_color = color

But that doesn’t work in godot 4.

Is there a way to do this in godot 4?

1 Like