clicking noise on 2005 GMC Envoy

there is a clicking noise on the accelerator pedal when ever i press on it does anyone know what it is

1 answer
Same issue with 2007 Envoy. First noticed when letting foot of the accelerator, felt right at the end of the accelerator.