how can i prevent player to press 2 buttons at the same time

Gate node