gre.set_layer_attrs( layer_name, tag_table )
Set properties for a layer instance associated with a particular screen. The layer_name specifies either the fully qualified name of a layer instance using the ScreenName.LayerName naming convention or, if only the layer name is specified, the name will refer to a layer instance associated with the current screen
x, y, width, height, alpha, hidden, xoffset, yoffset, geometry, effect
Parameters:
layer_name The model full path of the layer to change properties on
tag_table A table with tags as the keys and the new values stored as the table's key values
Example:
function set_layer_hidden() local data = {} data.hidden = 1 gre.set_layer_attrs("my_layer", data) end