diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-15 11:56:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-15 11:56:45 +0200 |
commit | 82e69f38eeb4a41f74527248bf257ba50d375870 (patch) | |
tree | 71f8171f21b47609a9ad9b4e8a7a8850b16f85d7 /doc | |
parent | 4547e223933d1c1b24a526b3d632a2f96cdd6c8b (diff) | |
parent | 04aef23585376c3e648c086e39a58e7f5fd41f7d (diff) |
Merge pull request #21973 from guilhermefelipecgs/fix_default_cursor_shape
Some fixes to mouse's cursor and shape
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Input.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index a0bb585583..d9929b3d31 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -293,7 +293,7 @@ <argument index="2" name="hotspot" type="Vector2" default="Vector2( 0, 0 )"> </argument> <description> - Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. Passing [code]null[/code] to the image parameter resets to the system cursor. See enum [code]CURSOR_*[/code] for the list of shapes. + Sets a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. Passing [code]null[/code] to the image parameter resets to the system cursor. See enum [code]CURSOR_*[/code] for the list of shapes. [code]image[/code]'s size must be lower than 256x256. [code]hotspot[/code] must be within [code]image[/code]'s size. </description> @@ -304,6 +304,8 @@ <argument index="0" name="shape" type="int" enum="Input.CursorShape" default="0"> </argument> <description> + Sets the default cursor shape to be used in the viewport instead of [code]CURSOR_ARROW[/code]. + Note that if you want to change the default cursor shape for [Control]'s nodes, use [member Control.mouse_default_cursor_shape] instead. </description> </method> <method name="set_mouse_mode"> |