how to access a field from a dictionary in c ++

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Facu1245

I’m using the interect_ray function, but I don’t know how to access the field that the dictionary returns, and

...
return space_state->intersect_ray(get_global_position(), body->get_global_position(), [this]);

it gives me an error