The photo below shows using a straight edge to check the alignment of the engine sprocket with the duplex primary chain sprocket on a 1969 Triumph T120R.
If necessary the engine sprocket can be shimmed out using shims designed for that purpose:
For more info, see Sprocket Alignment