grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » Ptr(handle, integer) |
Version 2.0
|
The Ptr Lua function returns the handle to a child object.
The 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.
This example prints the data connected to the first child of the selected sequence. It uses the Dump() function.
The Dump() function returns a string with information about the object, for instance, the name, class, path of the object, its properties, and children.
Learn more in the Dump() topic.
Lua |
return function() |