Page 1 of 1

Suggestions about mouse pointer frames on desktop

Posted: 19 Feb 2021, 18:22
by 1Code
:windows :linux

Code: Select all    Reset

Drawing.getMousePointer() --Returns --frame: (interger) the frame of the mouse pointer (nil if default²)¹ --x: (number) absolute X position of the mouse pointer¹ --y: (number) absolute Y position of the mouse pointer¹ --¹within the window on desktop Drawing.drawMousePointerFrame(frame) --changes the current texture of a mouse pointer within the window --Parameters: --frame: (interger) the frame the game will use to replace the current texture of the mouse (within the window) with the specified one. If frame is nil the default frame² will be used and ²may vary by software --Returns --(bool) true if successful
Lua editor
Run
mouse.png
mouse.png (4.33 KiB) Viewed 1750 times

Re: Suggestions about mouse pointer frames on desktop

Posted: 21 Feb 2021, 06:07
by Bearbear76
Looks nice. :)
It seems like a nice feature.