unity set cursor visibility code example Example: how to make mouse invisible unity void Start() { Cursor.visible = false; }