# Reload Scripting

**URL:** <https://forum.playcanvas.com/t/reload-scripting/17068>\
**Category:** Help & Support\
**Created:** [January 22, 2021, 2:59pm UTC](https://forum.playcanvas.com/t/reload-scripting/17068 "2021-01-22T14:59:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel\_Dobrzynski](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/gabriel_dobrzynski/32/14583_2.png) [@Gabriel\_Dobrzynski](https://forum.playcanvas.com/u/Gabriel_Dobrzynski)\
**Post date:** [January 22, 2021, 2:59pm UTC](https://forum.playcanvas.com/t/reload-scripting/17068/1 "2021-01-22T14:59:03Z")

</div>

Im scripting the animation for reload but it said x is not defined here is a link to our editor [PlayCanvas | HTML5 Game Engine](https://playcanvas.com/editor/scene/1066569) (its the playeranimationhandler)
