A set screw or grub screw is generally a headless screw but can be any screw used to fix a rotating part to a shaft. The set screw is driven through a threaded hole in the rotating part until it is tight against the shaft. The most often used type is the socket set screw, which is tightened or loosened with a hex key.