get_hovered_prim#

omni.kit.context_menu.scripts.get_hovered_prim(objects)#

Get prim currently under mouse cursor or None.

Parameters:

objects (dict) – context_menu data

Returns:

Prim that is hovered by mouse cursor or None.

Return type:

(Usd.Prim)