Web demo & donations' page

This extension provides a unified API for "mouselock" on desktop platforms and web (HTML5).

Foremost intended for making web-based games with camera rotation, but has numerous other uses.

Included functions are:

  • mouse_lock() : Locks the mouse cursor at current position.
  • mouse_unlock(): Unlocks the mouse cursor.
  • mouse_delta_x, mouse_delta_y: Mouse movement since the last frame (if locked),
  • mouse_lock_update(): Must be called once per frame. Updates mouse_delta_* variables.
  • mouse_is_locked(): Returns whether the mouse is currently locked. (on HTML5, mouse can only be locked after a click on the game)

End User Licence Agreement (EULA).

Version 1.0.0. Published October 11, 2016

Created with GameMaker: Studio v1.4.1757

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Samuel V 25 September 2017

Really cool!

Thank you for making this, and it's very generous to make it free!


Austin S 01 July 2017


Brandon B 06 May 2017

What is the issue?

Back to Top