# Map scrolling

**URL:** <https://forum.kirupa.com/t/map-scrolling/199815>\
**Category:** Uncategorized\
**Created:** [September 6, 2006, 10:01am UTC](https://forum.kirupa.com/t/map-scrolling/199815 "2006-09-06T10:01:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marky\_boy](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@marky\_boy](https://forum.kirupa.com/u/marky_boy)\
**Post date:** [September 6, 2006, 10:01am UTC](https://forum.kirupa.com/t/map-scrolling/199815/1 "2006-09-06T10:01:13Z")

</div>

hello there,

I’m having a problem getting my head around how to do the following.

I have a map, placed on the stage in its entirety.

I only want to show a portion of this on screen though. Then as the mouse moves to the edge of this visble frame I want to pan over the map in that direction.

I just can’t work out how to do it. It must be a relatively simple process but for the life of me I can’t work it out.

I’m thinking maybe some kind of mask then you move the map around beneath it?

I’ve been trying to use a couple of scrolling tile-based games tutorials but this is less complicated and I can’t sceen out all the extra stuff the game tutorials are doing. Any help would be greatly appreciated.

Thanks!  
M
