[Web] Add notice about issues with setting custom cursor shape every frame

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
This commit is contained in:
Adam Scott
2025-06-16 05:42:20 -04:00
parent 5cb1ec5900
commit 7c24d72ca6

View File

@@ -724,6 +724,7 @@
<description>
Sets a custom mouse cursor image for the given [param shape]. This means the user's operating system and mouse cursor theme will no longer influence the mouse cursor's appearance.
[param cursor] can be either a [Texture2D] or an [Image], and it should not be larger than 256×256 to display correctly. Optionally, [param hotspot] can be set to offset the image's position relative to the click point. By default, [param hotspot] is set to the top-left corner of the image. See also [method cursor_set_shape].
[b]Note:[/b] On Web, calling this method every frame can cause the cursor to flicker.
</description>
</method>
<method name="cursor_set_shape">