def on_mouse_motion(self, mouse_pos):
        """Highlight option widget if position collides.

        we also unhighlight all other widgets.

        Parameters
        ==========
        mouse_pos (2-tuple of integers)
            x and y coordinates representing the mouse
            position on the screen.
        """
        ### iterate over the option widgets, highlighting
        ### the one which collides with the mouse and
        ### unhighlighting the ones which don't

        for widget in self.option_widgets:

            if widget.rect.collidepoint(mouse_pos):
                widget.highlight()

            else:
                widget.unhighlight()
Highlight option widget if position collides.

        we also unhighlight all other widgets.

        Parameters
        ==========
        mouse_pos (2-tuple of integers)
            x and y coordinates representing the mouse
            position on the screen.
        
nodezator/widget/optionmenu/op.py