Oh man, I'm an idiot. You're right, I have it in the update function so it's just updating every frame.
Thanks so much!