Drag camera with mouse

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

Features used in this example

GDevelop is a game engine allowing you to make games without coding. It's free, fast and easy to use. Get started now!

The example uses these features:

  • Advanced control features
  • Cameras and layers features
  • Builtin events
  • Mathematical tools
  • Mouse and touch
  • Variable features
  • Sprite
  • Text object

Read more about all features and extensions in GDevelop here.

Game creation, made simple

Imagine and publish your games with GDevelop. Bundled with tutorials and examples.