Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi 😋 I had a bug when I exported my game for iOS with MV… when I try to teleport or open a menu : ERROR : TypeError !

document.exitPointerLock is not a function. (In 'document.exitPointerLock()','document.exitPointerLock' is undefined)

Ok… So… I bought MZ and remade my project with it… always the same problem…

It works without MZ3D ! Can you help me pleaaaaaase ! 🙏

Sorry you're having trouble, and sorry for the late reply. I'm not sure what would cause the issues you describe unfortunately.

exitPointerLock is part of the web api so I don't see any reason why it wouldn't be defined, though I haven't really tested on mobile devices yet.

Document.exitPointerLock() - Web APIs | MDN (mozilla.org)