Drag camera with mouse

This shows how to allow the user to move on a map with the mouse.

Edit it in GDevelop

Try Drag camera with mouse online

Test and edit this example in the GDevelop game engine.

How it's built?

This game is made with GDevelop using these features:

  • Event functions
  • Layers and cameras
  • Events and control flow
  • Mathematical tools
  • Mouse and touch
  • Variables
  • Sprite
  • Text object
  • Drag Camera With Pointer