You can simply make a do once code when the button is pressed. Make a on released button that resets the do once. This should work.
You can simply make a do once code when the button is pressed. Make a on released button that resets the do once. This should work.