# Components to reuse a design in other designs (our equivalent to Unity prefabs): TCastleDesign and TCastleTransformDesign

**URL:** https://forum.castle-engine.io/t/components-to-reuse-a-design-in-other-designs-our-equivalent-to-unity-prefabs-tcastledesign-and-tcastletransformdesign/649
**Category:** News
**Created:** [September 30, 2022, 1:19am UTC](https://forum.castle-engine.io/t/components-to-reuse-a-design-in-other-designs-our-equivalent-to-unity-prefabs-tcastledesign-and-tcastletransformdesign/649 "2022-09-30T01:19:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [September 30, 2022, 1:19am UTC](https://forum.castle-engine.io/t/components-to-reuse-a-design-in-other-designs-our-equivalent-to-unity-prefabs-tcastledesign-and-tcastletransformdesign/649/1 "2022-09-30T01:19:34Z")

</div>

| [![TCastleTransformDesign to instantiate a composition with car+lights multiple times (car model by Slava Z. from https://sketchfab.com/3d-models/pony-cartoon-885d9f60b3a9429bb4077cfac5653cf9 )](https://forum.castle-engine.io/uploads/default/original/1X/60b86fabc36178a8aa7c200c10faa07d11d42f57.png)](https://i0.wp.com/castle-engine.io/wp/wp-content/uploads/2022/09/reuse_designs_transform.png?ssl=1 "TCastleTransformDesign to instantiate a composition with car+lights multiple times (car model by Slava Z. from https://sketchfab.com/3d-models/pony-cartoon-885d9f60b3a9429bb4077cfac5653cf9 )") |

Our components `TCastleDesign` and `TCastleTransformDesign` just got a number of significant improvements. I added a context menu to them to _edit_, _revert_, and _open a referenced design_. I fixed drag-and-dropping of `.castle-transform`. I even made a safeguard to not crash when you recursively reference yourself 🙂

All of this and more is now documented in the [manual chapter about TCastleDesign and TCastleTransformDesign](https://castle-engine.io/reuse_design) and demonstrated in our new video:

Try them out and have fun! And if you like it — please [support us on Patreon](https://www.patreon.com/castleengine).
