Very easy way is to: every tick, set an invisible sprite's position to mousex,mousey, and give the invisible sprite the scollto behavior.
This is very basic stuff,covered in the manual and the numerous excellent tutorials and built-in examples/templates.
If you don't understand, then post a .capx showing where you are stuck and we can make suggestions.