How to use MultiMeshInstance with code

Godot Version

v4.2.2.stable.official

Question

I’m having troubles figuring out how to use the MultiMeshInstance node to use it to spawn bunch of boxes in space, here’s what i’ve written:
Capture

  • _point_mesh is the mesh i setup to be cloned.
  • mesher is the MultiMesh resource and i’m setting it up using a packedvector3array that houses all the points locations

I want to know if the setup is the problem or not, and the documentation is useless and outdated