Measure for screw length
Use a depth gauge to measure for screw length.
Measure the longer side of an oblique drill hole, as shown, to ensure sufficient screw length.
A screw should protrude 1-2 mm through the opposite cortex to ensure thread purchase. However, too long a screw may be tender, or injure soft tissues.