Rotate toward mouse

Show how to rotate an object so that it looks toward the player cursor.

How it's built?

This game is made with GDevelop using these features:

  • Mouse and touch
  • Objects
  • Sprite

Edit it in GDevelop

Try Rotate toward mouse online

Test and edit this example in the GDevelop game engine.