Can you make it withought the gravity?

I need it to move like it does with Left & Right?
(up and down, withought gravity)

I would really apreciate it!!