This commit is contained in:
Saber 2025-02-03 19:59:29 +00:00 committed by GitHub
commit 0dfd02353b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,22 +47,10 @@ Get parent for entity
world:parent(bob) world:parent(bob)
``` ```
```typescript [typescript] ```typescript [typescript]
world.parent(bob, pair(Eats, jecs.Wildcard) world.parent(bob)
``` ```
::: :::
Find first target of a relationship for entity
:::code-group
```luau [luau]
world:target(bob, Eats)
```
```typescript [typescript]
world.target(bob, Eats)
```
:::
Find first target of a relationship for entity Find first target of a relationship for entity
:::code-group :::code-group