grandMA3 User Manual Publication
Children(handle)
grandMA3 User Manual » Plugins » Lua Functions - Object API » Children(handle)
|
Version 2.1
|
Description
The Children Lua function creates a table of handles for the children of an object.
Arguments
-
Handle:
The function takes a handle of the type "light_userdata" as an argument.
It can be omitted when using the colon notation on an objectThe Colon Notation is a way to omit the handle as the first argument when using the Object functions.
This is the general syntax with the colon notation: object:function()
This is the general syntax with standard handle notation: object.function(object)
Learn more in the Lua Functions - Object API topic.
Return
-
Table:
The function returns a table with handles for the child objects. If there are no children, then it returns an empty table.
Example
This example returns the name of the cues in the first sequence of the selected data pool:
Lua |
return function() |