unit attributes for color direction and speed