# How to move a cube on a plane

I'm using blender 2.8 and my simple scenario is: a plane and a cube mesh.

I want to move the cube on the plane without using the G command on the Z axis of the cube mesh, because doing freehand it's not perfect.

What's the best practice using blender tools?

Thanks

• if you place your cube on the right Z location, then you can move it with shift Z so that it doesn't move anymore on the Z axis, you can also lock its location on the Z axis on the 3D view N panel, or even give it a Limit Location constraint... – moonboots Aug 13 at 14:59
• I have used the snap tool, and does what I needed. Thanks @moonboots for your help, I've learned that I can do the same thing in many different ways. – Massimiliano Marini Aug 14 at 14:25
• yes of course, snap tool as well ;) – moonboots Aug 14 at 16:15