How to find the position of a vertex from a mesh in global space

Godot Version

4.5

Question

How would you find the position of a vertex from a mesh in global space?

For example, I want to get a vertex from a collisionshape3d in my scene and get the y coordinate of that vertex in relation to the root node

You multiply the local vertex coordinate with the global transform. There should also be to_global functions for this as well that accept a Vector3.