# Mouse Event Problem

**URL:** https://forum.kirupa.com/t/mouse-event-problem/275455
**Category:** flash
**Created:** [November 14, 2008, 1:06am UTC](https://forum.kirupa.com/t/mouse-event-problem/275455 "2008-11-14T01:06:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Didi32](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@Didi32](https://forum.kirupa.com/u/Didi32)
#### Post date: [November 14, 2008, 1:06am UTC](https://forum.kirupa.com/t/mouse-event-problem/275455/1 "2008-11-14T01:06:11Z")

</div>

Hi,

I’m sure this is a common problem but my search on the forum didn’t return anything.

I have a Sprite instance on the stage with a Mouse Event listening for a CLICK or MOUSE\_UP. When the event is triggered, the Sprite x position is reduced by 20 after what the event is removed. The only problem now is that someone clicking very quickly (actually double-clicking) on the instance will end up with a Sprite with a x -40 instead of -20. How can I avoid this?

Thank you,
