Run OnTriggerStay void once times

Hello there, I want to run OnTriggerStay void once times with pressing Space How can I do this?

Not sure the best way to do this. You could have your code inside ontriggerstay inside an if statement dependant on a Boolean and set the Boolean to true when you hit space then back to false at the end of the code inside ontriggerstay.