Skip to content

Commit

Permalink
fix: clarify target terms
Browse files Browse the repository at this point in the history
  • Loading branch information
ten3roberts committed Oct 25, 2023
1 parent 0c136d9 commit b43825a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guide/src/fundamentals/relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ The linked entity is referred to as the `target` of a relation, while the entity

This allows forming hierarchies such as *parent-child* relations for transforms and UI, as well as arbitrary graphs.

See the [`child_of`](https://docs.rs/flax/latest/flax/components/fn.child_of.html) relation for an example of a parent-child relation by using the parent entity as the relation's *target*.

Relations are most easily declared using the
[component](https://docs.rs/flax/latest/flax/macro.component.html) macro, but can be constructed dynamically as well. See [dynamic_components](../diving_deeper/dynamic_components.md)

Expand Down

0 comments on commit b43825a

Please sign in to comment.