def getSelected(scene_obj):
    """
    Method returning selected nodes from the scene object.

    **parameters**, **types**, **return** and **return types**

    :param scene_obj: Pointer of a QGraphicsScene object.
    :type scene_obj: object

    :return: A list of selected objects, [] if nothing is selected.
    :rtype: list

    - Example::

        getSelected(self.scene)
    """

    return scene_obj.selectedItems()