If you are trying to shoot stuff in Yooka-Laylee, you might run into some accuracy troubles unless you know how to zoom in. With a controller, simply press in the left analogue stick to enter zoom, and press it once again to leave the zooming interface.
If you are using mouse and keyboard, the Tab button will take you to zoom mode. And once again, reclick it to exit the zoom mode.
This should hopefully make some of the puzzles a bit easier, because they can be a pain if you don't know how to zoom!