Apple Pencil does not work on iPad

How can I get the Apple Pencil to work so I can click on things? Works perfectly find on RDP apps but with Teamviewer I can select things but not click on them.