Contents

setHiddenUntilMouseMoves(_:)

Sets whether the cursor is hidden until the mouse moves.

Declaration

class func setHiddenUntilMouseMoves(_ flag: Bool)

Parameters

  • flag:

    True to hide the cursor until one of the following occurs:

    • The mouse moves.

    • You invoke the method again, with flag set to False.

Discussion

Do not try to counter this method by invoking unhide(). The results are undefined.

See Also

Setting cursor attributes