Version: 2017.3

Cursor.SetCustomCursor

Switch to Manual
public static void SetCustomCursor (uint id);

Parameters

id The cursor resource id.

Description

Set a custom cursor.

This creates new CoreCursor(CoreCursorType::Custom, id) and assigns it to CoreIndependentInputSource.PointerCursor if independent input source is enabled, otherwise it's assigned to CoreWindow.PointerCursor. The resource id for cursor is created inside Win32 .RC file. Note: Passing 0 will reset cursor to the arrow icon.