On the Nintendo DS version of LEGO Star Wars: The Complete Saga, press X once the targeting graphics appear on screen.
The reticle only shows up during the sections where a torpedo or projectile weapon is usable, so if pressing X does nothing, you are either not in the right spot or the target has not been acquired yet.
Wait for the brackets to settle on the target before you press. Firing early wastes the shot and, in the tighter sequences, there is no time to line up a second attempt before the moment passes.
If you keep missing, restart the room from the checkpoint rather than trying to salvage it. These sections are short, and a clean run is faster than fighting a bad position.