.. highlightlang:: us .. index:: obj_parent .. _obj_parent: obj_parent ========== .. us.tag obj_parent NOTREADYENGLISH New410 obj :ref:`obj_parent` returns the parent object or 0 if the object does not have a parent. .. function:: o = obj_parent(obj) .. us.return **Return Value** *o* is a pointer to the parent object of *obj*, or the number 0 if *obj* does not have a parent object. .. us.params **Parameters** .. uparam:: obj *obj* is the object created with :ref:`obj_create`. .. seealso:: :ref:`overview-uniscript-objects`, :ref:`obj_set_parent`, :ref:`obj_set_methods` :sub:`id-771517`