What should I do when I want to have the opposite of this, so that when I press A, it takes priority over D, and when I press D it takes priority over A? In my current implementation, when holding A, pressing D takes priority over A, but when holding D, pressing A wont do anything.