In-Game DefinitionsGlobalsScripting FunctionsTraitLogicUseTraitDataOn this pageUseTraitData Function name in TraitLogic.lua Usage UseTraitData(unit, trait) Parameters unit, trait Returns any|nil