grandMA3 User Manual Publication

GetUIChannelCount()

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetUIChannelCount()
Version 2.0

Description

The GetUIChannelCount Lua function returns a number indicating the total amount of UI channels.

Arguments

This function does not accept any arguments.

Return

  • Integer:
    The function returns an integer number depicting the total amount of UI channels.

Example

This example prints the number of UI channels to the Command Line History:

Lua
return function()
Printf("The number of UI channels is " .. GetUIChannelCount())
end