nuke.lastHitGroup

nuke.lastHitGroup() Group

Returns the last clicked Group node. None if no group clicked.

Returns

The group node.