The function of KANSL2 (KAT8 regulatory NSL complex subunit 2, Ensembl gene identifier ENSG00000139620) is as follows. Non-catalytic component of the NSL histone acetyltransferase complex, a multiprotein complex that mediates histone H4 acetylation at 'Lys-5'- and 'Lys-8' (H4K5ac and H4K8ac) at transcription start sites and promotes transcription initiation (PubMed:20018852, PubMed:33657400). Required for NSL complex stability and for transcription of intraciliary transport genes in both ciliated and non- ciliated cells by regulating histone H4 acetylation at 'Lys-5'- and 'Lys-12' (H4K5ac and H4K12ac) (By similarity). This is necessary for cilium assembly in ciliated cells and for organization of the microtubule cytoskeleton in non-ciliated cells (By similarity). Required within the NSL complex to maintain nuclear architecture stability by promoting KAT8-mediated acetylation of lamin LMNA (By similarity). {ECO:0000250|UniProtKB:Q8BQR4, ECO:0000269|PubMed:20018852, ECO:0000269|PubMed:33657400}.