# \[AS2\] Plus/minus operator

**URL:** <https://forum.kirupa.com/t/as2-plus-minus-operator/278965>\
**Category:** flash\
**Created:** [January 8, 2009, 3:09am UTC](https://forum.kirupa.com/t/as2-plus-minus-operator/278965 "2009-01-08T03:09:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxGhost](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@MaxGhost](https://forum.kirupa.com/u/MaxGhost)\
**Post date:** [January 8, 2009, 3:09am UTC](https://forum.kirupa.com/t/as2-plus-minus-operator/278965/1 "2009-01-08T03:09:50Z")

</div>

Is there any simple way to use a plus or minus operator in AS2? To give this context, lets say I want to randomize a speed, higher or lower, on event (passing a certain x or y value) (like a ball bouncing around in a bounding box, but create some random rebound angles).

I’m essentially asking if there’s anoperator for the symbol **‘±’** in AS2…

Thanks in advance!
