Object moving in wireframe mode instead of object mode

I have just started using UE4. At first, whenever I moved around an object, the entire object moved around with mouse. But all of a sudden, only outline of object moves and upon stopping the mouse the object gets placed at the spot. How to switch back to entire object movement instead of just outlines?