# HostSubType()

Source: https://help.malighting.com/grandMA3/2.3/HTML/lua_objectfree_hostsubtype.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
## Description

The **HostSubType** Lua function returns a string with the host sub type of the station where the plugin is executed (for example, "FullSize", "Light", "RPU", "onPCRackUnit", "Undefined").

## Arguments

This function does not accept any arguments.

## Return

- **String**:\
  The returned string is the host sub-type of the device.

## Example

This example prints the host sub-type of the station in the Command Line History:

|                                                                                |
| ------------------------------------------------------------------------------ |
| [Copy Code](javascript:void\(0\))Lua                                           |
| ```
return function()
    Printf("The HostSubType is "..HostSubType())
end
``` |