# Run a function inside other function

**URL:** <https://forum.kirupa.com/t/run-a-function-inside-other-function/325510>\
**Category:** flash\
**Created:** [October 19, 2011, 5:56pm UTC](https://forum.kirupa.com/t/run-a-function-inside-other-function/325510 "2011-10-19T17:56:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MFRS](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Post date:** [October 19, 2011, 5:56pm UTC](https://forum.kirupa.com/t/run-a-function-inside-other-function/325510/1 "2011-10-19T17:56:06Z")

</div>

I am trying to make the classic brick breaker game, and i’m stuck at the part that when i lose a life, the game gets back to the beginning, except with one less life. Does anyone know how to make this?
