TouchObj()

grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » TouchObj() Version 2.2

説明

The TouchObj function returns the handle to the first found touch object.

引数

この関数は、引数を受け取りません。

戻り値

  • handle:
    The function returns the handle to the touch object.

This example prints information about the touch object using the Dump() function:

Dump()

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()
-- Print all informatin about the TouchObj object
Printf("=============== START OF DUMP ===============")
TouchObj():Dump()
Printf("================ END OF DUMP ================")
end