# How to draw lines by yourself to have a wall

**URL:** <https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963>\
**Category:** Questions\
**Created:** [August 11, 2022, 9:47pm UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963 "2022-08-11T21:47:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bright/32/22740_2.png) [@Bright](https://forum.babylonjs.com/u/Bright)\
**Post date:** [August 11, 2022, 9:47pm UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963/1 "2022-08-11T21:47:46Z")

</div>

Hello guys, I’m new to babylon and I need your help. I would like to draw lines myself to make a 2D plan. I want a result exactly like this : [https://www.spacedesigner3d.com/data/sites/spacedesigner/blog/CreateWalls.gif](https://www.spacedesigner3d.com/data/sites/spacedesigner/blog/CreateWalls.gif)

---

<div class="post-metadata">

**Author:** ![JohnK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/johnk/32/26764_2.png) [@JohnK](https://forum.babylonjs.com/u/JohnK)\
**Post date:** [August 11, 2022, 10:23pm UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963/2 "2022-08-11T22:23:32Z")

</div>

Here are some ideas from a similar question

> [@Drawing Lines to Create Walls](https://forum.babylonjs.com/t/drawing-lines-to-create-walls/32313):
>
> Hi Guys, I’m new to babylon, so please be gentle. I am interested in creating a function that I can draw a floorplan by picking points on the ground with lines. Like this… [CreateWalls] Hopefully, the gif above renders properly. If not, use this link [Wall Sample](https://www.spacedesigner3d.com/data/sites/spacedesigner/blog/CreateWalls.gif) I know there is a walls playground in the docs. that is clear. What I am unsure about is how to do this by picking the points and seeing it render as you click the points. Is there another playground similar to what I am looking…

---

<div class="post-metadata">

**Author:** ![Bright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bright/32/22740_2.png) [@Bright](https://forum.babylonjs.com/u/Bright)\
**Post date:** [August 11, 2022, 10:54pm UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963/3 "2022-08-11T22:54:57Z")

</div>

Ok thank you, I’ll check it out

---

<div class="post-metadata">

**Author:** ![Bright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bright/32/22740_2.png) [@Bright](https://forum.babylonjs.com/u/Bright)\
**Post date:** [August 11, 2022, 11:05pm UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963/4 "2022-08-11T23:05:37Z")

</div>

I would rather like something like this, with these traits.

 ![screencapture-file-C-Users-ppgja-Desktop-Applications-Babylon-JS-Test-1-index-html-2022-08-11-23_02_24](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/2/326c1855477656bb78dfd40717eaafdc551f01b1.png)

---

<div class="post-metadata">

**Author:** ![Moriy](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/moriy/32/30563_2.png) [@Moriy](https://forum.babylonjs.com/u/Moriy)\
**Post date:** [August 12, 2022, 8:39am UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963/5 "2022-08-12T08:39:03Z")

</div>

hello ~  
you can try this PG:

> **[Using Build a House from Plans | Babylon.js Documentation](https://doc.babylonjs.com/guidedLearning/workshop/House_Use)**
>
> Starting with a 2D plan of the outline of a house use the functions to build a house

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

---

<div class="post-metadata">

**Author:** ![Bright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bright/32/22740_2.png) [@Bright](https://forum.babylonjs.com/u/Bright)\
**Post date:** [August 13, 2022, 4:06pm UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963/6 "2022-08-13T16:06:26Z")

</div>

thank you very much, I want to obtain this result but by drawing myself, that is to say I slide from one point to another and the drawing is done. I saw a playground similar to what I want, could you help me improve it?[https://playground.babylonjs.com/#1J7VXZ#12](https://playground.babylonjs.com/#1J7VXZ#12)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [September 12, 2022, 1:26pm UTC](https://forum.babylonjs.com/t/how-to-draw-lines-by-yourself-to-have-a-wall/32963/7 "2022-09-12T13:26:20Z")

</div>

Unless you have specific questions it would be better to try out #service-offers-and-requests 🙂
