# Particle System Drag Factor Playground Example Has Error On Load

**URL:** <https://forum.babylonjs.com/t/particle-system-drag-factor-playground-example-has-error-on-load/9532>\
**Category:** Bugs\
**Tags:** documentation\
**Created:** [March 27, 2020, 9:14pm UTC](https://forum.babylonjs.com/t/particle-system-drag-factor-playground-example-has-error-on-load/9532 "2020-03-27T21:14:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TommyLee](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tommylee/32/7516_2.png) [@TommyLee](https://forum.babylonjs.com/u/TommyLee)\
**Post date:** [March 27, 2020, 9:14pm UTC](https://forum.babylonjs.com/t/particle-system-drag-factor-playground-example-has-error-on-load/9532/1 "2020-03-27T21:14:40Z")

</div>

If you go to the playground example at [https://www.babylonjs-playground.com/#BDW3BF#0](https://www.babylonjs-playground.com/#BDW3BF#0), there is an error “createScene function must return a scene” when the page loads.Hopefully not an error between the keyboard and the seat. 🙂

---

<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:** [March 27, 2020, 10:04pm UTC](https://forum.babylonjs.com/t/particle-system-drag-factor-playground-example-has-error-on-load/9532/2 "2020-03-27T22:04:10Z")

</div>

@TommyLeeThanks for popping onto the forum to discuss.

Not a bug in this case 😉

Here it is fixed:  
[https://www.babylonjs-playground.com/#BDW3BF#7](https://www.babylonjs-playground.com/#BDW3BF#7)

It was in the way you were using the BABYLON.MeshBuilder.CreateBox constructor.

Originally you were giving it a “size” of 1.0 like this:

`var scaleObject = BABYLON.MeshBuilder.CreateBox("scaleObject", 1.0, scene);`

When what it wants is a list of options like this:

`var scaleObject = BABYLON.MeshBuilder.CreateBox("scaleObject", { size:1.0 }, scene);`
