2d and 3d controls