def click_remove_buttons(self, event):
        """Remove node pack from list if remove button was clicked.

        Parameters
        ==========
        event (pygame.event.Event of pygame.MOUSEBUTTONUP
               type)

            Check pygame.event module documentation on
            pygame website for more info about this event
            object.
        """
        mouse_pos = event.pos

        for remove_button, _ in self.node_pack_widget_list:

            if remove_button.rect.collidepoint(mouse_pos):

                remove_button.on_mouse_release(event)
                break
Remove node pack from list if remove button was clicked.

        Parameters
        ==========
        event (pygame.event.Event of pygame.MOUSEBUTTONUP
               type)

            Check pygame.event module documentation on
            pygame website for more info about this event
            object.
        
nodezator/editing/nodepacksforms/selection.py