Instantiate GameObject at the speed of user touch or click

I am working on a game and when I touch the screen it instantiates GameObject as per my current code but this sometimes instantiate fewer GameObjects and my player crosses the path which is not even instantiated so what I want to do is instantiate the GameObject as per the rate of Click or touch from the user.