API Reference › World › World.attach
method

World.attach

World.attach(entity, prop_id) -> void

Adds component prop_id to entity, so World.get/set/has then work on it.

← All symbols