# How can my character become killed?

**URL:** <https://forum.kirupa.com/t/how-can-my-character-become-killed/228126>\
**Category:** flash\
**Created:** [June 5, 2007, 3:39pm UTC](https://forum.kirupa.com/t/how-can-my-character-become-killed/228126 "2007-06-05T15:39:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_M](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@J\_M](https://forum.kirupa.com/u/J_M)\
**Post date:** [June 5, 2007, 3:39pm UTC](https://forum.kirupa.com/t/how-can-my-character-become-killed/228126/1 "2007-06-05T15:39:34Z")

</div>

I wonder how to make my character to return to his starting position when he has no lives left.

I have created a variable named health with a value of 100. And I’ve also created a trap that decreases the health but i can’t get him back to the start.

I don’t know how to reset the health variable to 100 when killed either.

Please help!
