# Variable is 1 extra than it should be

**URL:** <https://forum.kirupa.com/t/variable-is-1-extra-than-it-should-be/119995>\
**Category:** Uncategorized\
**Created:** [August 19, 2004, 6:45pm UTC](https://forum.kirupa.com/t/variable-is-1-extra-than-it-should-be/119995 "2004-08-19T18:45:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skribble](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Post date:** [August 19, 2004, 6:45pm UTC](https://forum.kirupa.com/t/variable-is-1-extra-than-it-should-be/119995/1 "2004-08-19T18:45:01Z")

</div>

hey guys, ive attached an FLA.

basically i want it so that when u click my upMC it pluses speed by 1 point, but if the person clicks the downMC to take a point off and the points = 0 then it wont subtract anything. and if the person tries to plus a point but the points have ran out, then it wont plus.

Its hard to understand i know, ive done it though, but one problem is that for sum reason i cant figure out the points are always being added by 1 whenever the user gets to 10 and then clicks back down again. u have to see it to understand it.

thanx aot guys.
