The cursor is visible when built.

Hello. I have a problem. when I build my game in unity and run it, I see that the cursor is visible in the middle. But, I want it to be invisible. I tried to do Screen. showCursor = false; but it didn’t work.
So can anyone please help.

Try
Cursor.visible = false;