Skip to content

Commit

Permalink
Update libentities.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Onran0 authored Dec 14, 2024
1 parent 26613b8 commit 8caa536
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/en/scripting/builtins/libentities.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ entities.get(uid: int) -> table
-- prefix - component pack id
-- name - component name
-- component prefix and name are separated with two underscores
entities.spawn(name: str, pos: vec3, [optional] args: table)
-- Returns an entity object
entities.spawn(name: str, pos: vec3, [optional] args: table) -> table

-- Checks the existence of an entity by a unique identifier.
entities.exists(uid: int) -> bool
Expand Down

0 comments on commit 8caa536

Please sign in to comment.