Expanding Gridmap Toolbar and Bottom Panel integration

Godot Version

4.4

Question

I’m working on a university project in Godot, where Wave Function Collapse (WFC) is the core focus. I’m expanding the capabilities of the GridMap node and have (kind of) figured out how to add custom properties in the Inspector.

However, I can’t seem to find any documentation on the GridMap bottom panel, or how to add buttons to its toolbar. I need help with the following:

  • A button on the toolbar that operates on the current selection
  • I need to drag meshes from the bottom panel and drop them inside the inspector, or get the mesh id selected in the bottom panel, whichever is possible.

Any guidance or resources on this would be appreciated!