summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2020-10-13 21:27:52 +0200
committerGitHub <noreply@github.com>2020-10-13 20:27:52 +0100
commit2341a4aff1242e978d6fad3772d4d4fb015c040d (patch)
treedeace790c7c9739bda1b4578991e3dbb9ecffab3 /doc/lua_api.txt
parent521a04222a71325ef217d1214febf5591919e169 (diff)
downloadminetest-2341a4aff1242e978d6fad3772d4d4fb015c040d.tar.gz
minetest-2341a4aff1242e978d6fad3772d4d4fb015c040d.tar.bz2
minetest-2341a4aff1242e978d6fad3772d4d4fb015c040d.zip
Add ObjectRef:get_children() (#10480)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index c8b294149..1631d564c 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6206,6 +6206,8 @@ object you are working with still exists.
should appear in first person.
* `get_attach()`: returns parent, bone, position, rotation, forced_visible,
or nil if it isn't attached.
+* `get_children()`: returns a list of ObjectRefs that are attached to the
+ object.
* `set_detach()`
* `set_bone_position(bone, position, rotation)`
* `bone`: string