Returns the style of vehicle UI to display for a unit


See also Vehicle functions.

Signature:

skin = UnitVehicleSkin("unit") or UnitVehicleSkin("name")

Arguments:

  • unit - A unit to query (string, unitID)
  • name - Name of a unit to query; only valid for player, pet, and party/raid members (string)

Returns:

  • skin - Token identifying the style of vehicle UI to display for the unit (string)
    • Mechanical - Used for mechanical vehicles
    • Natural - Used for creature mounts