Skip to content

GetUIChannelCount()

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