I will present how the DD* scattering amplitude and the pole positions in Tcc channel vary with the charm and the light-quark masses. This will be based on our lattice results for five charm quark masses and results by other groups for various light-quark masses. The EFT analysis implies attraction at short range and a slight repulsion at long range mediated by one-pion exchange for mpi > mD*−mD (related to left-hand cut). I’ll sketch how the Tcc pole transitions between a resonance, virtual and bound state as charm and light quark masses are varied.