# Mouse Click + Space = Drag

**URL:** <https://forum.kirupa.com/t/mouse-click-space-drag/215506>\
**Category:** flash\
**Created:** [February 7, 2007, 7:59pm UTC](https://forum.kirupa.com/t/mouse-click-space-drag/215506 "2007-02-07T19:59:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebillionaire](https://avatars.discourse-cdn.com/v4/letter/t/65b543/32.png) [@thebillionaire](https://forum.kirupa.com/u/thebillionaire)\
**Post date:** [February 7, 2007, 7:59pm UTC](https://forum.kirupa.com/t/mouse-click-space-drag/215506/1 "2007-02-07T19:59:35Z")

</div>

I know this is probably a really easy question, but I can’t find anything on it anywhere.

I am building a simple map interface, and I want the user to click the mouse and the spacebar to be able to drag the map. I can do one or the other using “on (press)” or “on (keyPress “\<Space\>”)” but how do I get them to work together?

Thanks for your help!
