Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This question already has an answer here:
Arrows show wrong axes. Something went wrong with the axes and they began to show absolutely wrong directions. Maybe someone know how to fix this?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Change the transformation axis as indicated by the Yellow Arrow below.
Try the different selections to see the effects.
Sometimes a stray keystroke can have an unintended effect. So many keystrokes.