# Add 10 with every click

**URL:** <https://forum.kirupa.com/t/add-10-with-every-click/296079>\
**Category:** flash\
**Created:** [September 9, 2009, 11:18am UTC](https://forum.kirupa.com/t/add-10-with-every-click/296079 "2009-09-09T11:18:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunGLASS](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sunGLASS](https://forum.kirupa.com/u/sunGLASS)\
**Post date:** [September 9, 2009, 11:18am UTC](https://forum.kirupa.com/t/add-10-with-every-click/296079/1 "2009-09-09T11:18:28Z")

</div>

Each time I click the “fold\_btn” I need to be able to add 10 points and display it in a text box (rot1\_txt) .

```auto
 
on (press) {
_root.rot1_txt = 0;
_root.rot1_txt = _root.rot1_txt + 10;
}

```

Not working!!
