TAB to go into Inspect mode, then SHIFT to go into the visual (yellow) layer. After, skip to the part when the thug is giving the gun and focus your center on that. It should scan the gun automatically. You can recognize the focus point because it's marked with a magnifying glass.