# Height Of Unit

Grammar — Height of u
FlagsNative | Function

Returns the height of the specified unit.

# Arguments

  • unit — Unit

Returns — fixed

native fixed UnitGetHeight(unit inUnit);

Category: Unit / Properties

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L829
UnitGetHeight(UnitLastCreated())
// L829
UnitGetHeight(UnitLastCreated())

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L5971
UnitGetHeight(lv_kerriganStrikeAmon)

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L4786
UnitGetHeight(lv_target)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L13543
UnitGetHeight(EventUnit())
// L15655
UnitGetHeight(EventUnit())

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L1020
UnitGetHeight(lp_damagedUnit)
// L1031
UnitGetHeight(lp_damagedUnit)