Changing a parameter that isn't on the chain every sample

I think this is the closest thing to what I need, thanks. I also had the idea of perturbing the A & B each chain, but I thought I’d ask if there was a way to do it each sample.

Thanks!