movement wont work

i was working on my vr home game when i was making stairs and by accident i hit a button and the axis to move an object suddenly changed to the axis to scale an object, does anyone know how to change this back?

You can use W,E and R to switch between Move Rotate and Scale gizmos. You have to click in the viewport first