I'm using the pause function for all of my dialogue in my game, with everything pausing except the dialogue panel when you start a dialogue interaction, but it tends to loop the encounter because it re-reads the input when it unpauses after, or continue the input (I'm using input.is_action_just_pressed) since it's the same key to interact, any potential solutions or ideas?