--- tags: factory title: Spawn game object brief: This example shows how to dynamically spawn game objects with a factory component. author: Defold Foundation scripts: bunny.script,debris.script --- ![basic](basic.png) The "debrisfactory" factory component uses the file *debris.go* as prototype, meaning that it produces game objects that are all copies of that file. ![debris](debris.png)