Recording an 3d mesh animation, not updating between frames

Hi, I have some results from a simulation that represent a 3d surface object moving in time. When I try to record the mesh much like the example in the documentation I don’t seem to get the plot actually updating. It displays one single frame. I am pretty new here so there is probably something I am missing.
Thanks in advance.

using Makie, GLMakie
f, ax, pl = mesh(verticies_i’,faces)
record(f, “uv_mesh2.mp4”, 1:100:length(bd1)) do i
verticies_i=(bd1[i].Tibverticies_b’+bd1[i].sbr_iones(1,n))’
# mesh!(ax,verticies_i’,faces)
end

You’re overwriting the vertices variable, you need to turn it into an Observable and update it not overwrite it.

https://docs.makie.org/stable/documentation/nodes/