the OnPressed input in func_button retains to the user pressing the use
key, which is "e" by default. I think what you want is a trigger_once
entity instead, The player has to walk thorugh it, so position it so he
does. And use the "ontrigger" output for the trigger_once.
Posting And You