var struct = {
foo : { this : 1 },
bar : { this : 2 }
}
var names = variable_struct_get_names(struct);
for ( var i=0; i<array_length(names); i++ ){
show_debug_message(names[i]);
}
Running this code in debug mode will produce empty struct references in the main struct.