r = moai.Get(id$, attr$)
attr$in the MOAI object specified in
id$. Attribute names and object IDs are case insensitive, i.e. it does not matter if you use upper or lower case characters for them.
The attributes that you can use with this function depend on the class of the specified MOAI object. Have a look at the class reference to see what attributes are supported by the different MOAI classes. In order to use an attribute with this function, it needs to have an applicability of "G". Attributes of Area class and MOAI class can be used on almost all other classes because the Area and MOAI classes act as superclasses for most of the other classes.
DebugPrint(moai.Get("my_listview", "active"))The code above returns the index of the currently active entry in the listview that has the identifier "my_listview" by querying the Listview.Active attribute.