# \[SOLVED\] Shooting a beam of light

**URL:** <https://forum.playcanvas.com/t/solved-shooting-a-beam-of-light/8741>\
**Category:** Help & Support\
**Created:** [December 18, 2018, 4:05pm UTC](https://forum.playcanvas.com/t/solved-shooting-a-beam-of-light/8741 "2018-12-18T16:05:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MasalovAndreey](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/masalovandreey/32/7325_2.png) [@MasalovAndreey](https://forum.playcanvas.com/u/MasalovAndreey)\
**Post date:** [December 18, 2018, 4:05pm UTC](https://forum.playcanvas.com/t/solved-shooting-a-beam-of-light/8741/1 "2018-12-18T16:05:41Z")

</div>

Hey. Tell me, please, how to make so that when firing a weapon, a short beam of light flew at the target?

Link to the project: [https://playcanvas.com/editor/scene/678268](https://playcanvas.com/editor/scene/678268)

---

<div class="post-metadata">

**Author:** ![MasalovAndreey](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/masalovandreey/32/7325_2.png) [@MasalovAndreey](https://forum.playcanvas.com/u/MasalovAndreey)\
**Post date:** [January 14, 2019, 3:56am UTC](https://forum.playcanvas.com/t/solved-shooting-a-beam-of-light/8741/2 "2019-01-14T03:56:35Z")

</div>

> [@MasalovAndreey](#):
>
> Hey. Tell me, please, how to make so that when firing a weapon, a short beam of light flew at the target?
> 
> Link to the project: [PlayCanvas | HTML5 Game Engine](https://playcanvas.com/editor/scene/678268)

I solved the problem. When shooting, it is necessary to create the entity of a bullet, the model of which can be any (in my case, a laser model).
