Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Earnshaw <[email protected]>
  • Loading branch information
nearnshaw authored Dec 18, 2023
1 parent 1b434d1 commit 509617b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/creator/sdk7/networking/serverless-multiplayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ When parenting entities via the `parentEntity()` function, you can also make use
- **removeParent()**: Undo the effects of `parentEntity()`. It requires that you pass only the child entity. The entity's new parent becomes the scene's root entity. The original parent entity is not removed from the scene.
- **getParent()**: Returns the parent entity of an entity you passed.
- **getChildren()**: Returns the list of children of the entity you passed, as an iterable.
- **getFistChild()**: Returns the first child on the list for the entity you passed.
- **getFirstChild()**: Returns the first child on the list for the entity you passed.

```ts
import { syncEntity, parentEntity } from '@dcl/sdk/network'
Expand All @@ -133,7 +133,7 @@ const getParentResult = getParent(childEntity)
// returns parentEntity

// getFirstChild
const getFistChildResult = getFistChild(parentEntity)
const getFirstChildResult = getFirstChild(parentEntity)
// returns childEntity

// getChildren
Expand Down

0 comments on commit 509617b

Please sign in to comment.