How can i make a constant output that lasts only a few seconds unsing one input?

Ive been working on something which requires me to use an accumulator in steps. The accumulator goes up by one every mouse click but i need it to go back to 0 after it becomes full. For this ive used an "equals gate" that outputs when the accumulator is full. Ive hooked it into a loop that resets the accumulator but it can only do so with an extended input into it. How can i get this output?