Skip to content

GetUIChannelCount()

You're viewing grandMA3 2.3 docs. Switch to the latest (2.4).

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

This function does not accept any arguments.

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

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

Copy CodeLua
```
return function()
Printf("The number of UI channels is " .. GetUIChannelCount())

end