diff --git a/doc/APIreference/functions.rst b/doc/APIreference/functions.rst index abe36ac8..eea63e8d 100644 --- a/doc/APIreference/functions.rst +++ b/doc/APIreference/functions.rst @@ -3866,8 +3866,7 @@ Add frame to body. .. mujoco-include:: mjs_delete -Delete object corresponding to the given element, return 0 on success. This function should only be used for element -types that cannot have children, i.e. excluding bodies and default classes. +Remove object corresponding to the given element, return 0 on success. .. _AddNonTreeElements: diff --git a/doc/APIreference/functions_override.rst b/doc/APIreference/functions_override.rst index da9c913a..7f35ed84 100644 --- a/doc/APIreference/functions_override.rst +++ b/doc/APIreference/functions_override.rst @@ -718,8 +718,3 @@ to the inputs. Below, :math:`\bar q` denotes the pre-modified quaternion: Note that derivatives depend only on :math:`h` and :math:`v` (in fact, on :math:`s = h v`). All outputs are optional. - -.. _mjs_delete: - -Delete object corresponding to the given element, return 0 on success. This function should only be used for element -types that cannot have children, i.e. excluding bodies and default classes.