Skip to main content
Version: 9.0.2

gre.get_group_attrs

gre.get_group_attrs(
group_name
tags ...
)

Get properties for a group.  Key name is the name of the group or a variable.  Tags can be a list of the following values:

        x, y, hidden

A table with the results is returned.

Parameters

ParameterTypeDescription
group_name#stringThe model full path of the control to get information about tags One or more tags as strings.

Returns

TypeDescription
#tableA table containing the tags as keys with the associated table value being the Storyboard value associated with that tag.

Example

function check_if_hidden()
local dk_data = {}
-- check if my_group is currently hidden
dk_data = gre.get_group_attrs("my_layer.my_group", "hidden")
if dk_data["hidden"] == 1 then
print("my_control is currently hidden")
else
print("my_control is currently visible")
end
end