Receiving wp_dist value in lua

hi there, i just started using lua i’m wondering,
image
image


is there any way that i could use/pull the value from the ardupilot to lua? i think this is mavlink?