Disclosed are a user interface and a method for operating a user interface using gestures (P4) that are performed freely in a space, hereafter termed 3D gestures. The disclosed method involves the steps of: detecting, identifying and classifying a 3D gesture (P4); and outputting feedback to a user on the deviation of the 3D gesture (P4) from a class limit.