Cursor.visible is acting weird in play mode

I have this code in my start function which is as follows:

Cursor.visible = false;

I don’t get any errors or anything, however, when I go into play mode, my cursor remains visible. Am I missing something painfully obvious? How can I get my cursor to become invisible?

Try this one maybe;

Screen.showCursor = false;