Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How to locking the cursor on the game in html?

A topic by InnerCat created Dec 30, 2020 Views: 348 Replies: 1
Viewing posts 1 to 2

Hello.

Loading the first game. Everything is fine, but the cursor constantly flies out of the game and does not allow normal control.
So in two browsers (chrome, fox)
In other other people's games, the site works differently.

Fixed

https://docs.unity3d.com/ScriptReference/Cursor-lockState.html

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.