check if arrow keys are pressed unity code example Example: unity up arrow input Input.GetKeyDown("up")