Skip to content
Marc Flerackers edited this page Jun 9, 2024 · 3 revisions

The name component assigns a name to an object which can be used to search on, or to assign animations to.

leftLeg.add([
  sprite(),
  name("left-foot")
])

character.get({name: "left-foot"})
Clone this wiki locally