Best way to handle touch input for mobile

Hi everyone,
What is the best way to handle touch input for a mobile game. I could use UMG widgets but is there a better way? I’m new to developing mobile games, if there’s any good tutorials or documentation for C++ that you could also link me.

Thank you