You can attach Apple Pencil (2nd generation) to the magnetic connector on the right side of your Add, edit, and remove widgets on iPad.
Go to Settings Take and mark up a screenshot with Apple Pencil on iPadQuickly write notes with Apple Pencil on iPad