gets position and color