From e3c9959aa61f06bf9a71e7b5adff3f2ff434d549 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 21 Apr 2023 02:04:58 +0200 Subject: [PATCH] =?UTF-8?q?Document=20custom=20mouse=20cursors=20larger=20?= =?UTF-8?q?than=20128=C3=97128=20potentially=20having=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 92730fb07dbeb7e3640d0bed60c9b9033bc30577) --- doc/classes/Input.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 0b4a44bbc..417a7341d 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -320,7 +320,7 @@ 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 CursorShape] for the list of shapes. - [code]image[/code]'s size must be lower than 256×256. + [code]image[/code]'s size must be lower than or equal to 256×256. To avoid rendering issues, sizes lower than or equal to 128×128 are recommended. [code]hotspot[/code] must be within [code]image[/code]'s size. [b]Note:[/b] [AnimatedTexture]s aren't supported as custom mouse cursors. If using an [AnimatedTexture], only the first frame will be displayed. [b]Note:[/b] Only images imported with the [b]Lossless[/b], [b]Lossy[/b] or [b]Uncompressed[/b] compression modes are supported. The [b]Video RAM[/b] compression mode can't be used for custom cursors.