local guis = {}
for i,v in ipairs(viewguis:GetDescendants()) do
local PropertyValues = PropertiesModule.GetPropertyValues(v)
end
print(guis)
my goal should give me a result like this when i print the guis:
guis = {
Frame = {},
}
(I am able to get the Frame as v[“ClassName”])
how can I do that?
DataSigh
(DataSigh)
2
Something like this:
local guis = {}
for i, v in viewguis:GetDescendants() do
guis[v] = {}
end
print(guis)
batin1597
(Batin)
3
well if i do this it will overwrite when i want to add something new
guis["shop"] = {"bread", "cheese", "milk"}
-- and then
guis["shop"] = {}
-- it will overwrite it
DataSigh
(DataSigh)
4
Then what are you trying to do? Save two different sets of information using the same key?
batin1597
(Batin)
5
yes… but I think I can do what I want to do in another way. sorry for wasting your time. but now i learned that’s how it works. thanks
system
(system)
Closed
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.