# Weekly Video: Attach Logic To Your Objects with Scene Behaviros

**URL:** <https://forum.babylonjs.com/t/weekly-video-attach-logic-to-your-objects-with-scene-behaviros/12449>\
**Category:** Announcements\
**Created:** [July 13, 2020, 3:58pm UTC](https://forum.babylonjs.com/t/weekly-video-attach-logic-to-your-objects-with-scene-behaviros/12449 "2020-07-13T15:58:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PirateJC](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/piratejc/32/1003_2.png) [@PirateJC](https://forum.babylonjs.com/u/PirateJC)\
**Post date:** [July 13, 2020, 3:58pm UTC](https://forum.babylonjs.com/t/weekly-video-attach-logic-to-your-objects-with-scene-behaviros/12449/1 "2020-07-13T15:58:33Z")

</div>

Hey Everyone! A question we get asked a lot is how do you add code to an object in the scene. This is a popular feature in many modern game engines. Did you know that it exists in Babylon.js as well? In this week’s video, @Deltakosh walks us through how to setup and use Scene Behaviors in our Babylon creations. Enjoy!

[![](https://img.youtube.com/vi/qUlrLKV9UCI/maxresdefault.jpg "The Power of Behaviors") ](https://www.youtube.com/watch?v=qUlrLKV9UCI)

Follow Along with a fresh playground here:

> **[Babylon.js Playground](https://playground.babylonjs.com/)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [July 15, 2020, 11:21am UTC](https://forum.babylonjs.com/t/weekly-video-attach-logic-to-your-objects-with-scene-behaviros/12449/2 "2020-07-15T11:21:04Z")

</div>

Hi,

It’s interesting to see programming techniques. It would take more video / playground like this

On the other hand, the playground below is not what the video presents. It’s an existing default scene. Can we have the playground of the video ?

Thanks
