LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

PlayerSettings.cursorHotspot

Switch to Manual
public static Vector2 cursorHotspot;

Description

Default cursor's click position in pixels from the top left corner of the cursor image.