Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to change custom cursor size?

Hello, ScriptingHelpers. I'm working on a game and I want to make a custom cursor for reloading a weapon. I have no issues with the script, my only problem is the size of the custom cursor. I tested the cursor with some random decals and it always displays too large. How can I change the size so it fits better? I tried to look on the internet but I couldn't find anything helpful. I'd really appreciate an answer, thanks :)

Probably not necessary, but...

mouse.Icon = "http://www.roblox.com/asset/?id=68207337"

1 answer

✓ Accepted answer

The problem you have is the original size of the images when they were uploaded to ROBLOX. The image you have used has a resolution of 256x256, so in-game, the cursor will have a size of 256x256.

To change the size, simply upload an image that is at the exact size you would want it to appear in-game. Remember that the cursor image is centred over where the mouse would click, take a look at the default ROBLOX cursor to see what I mean.

1 comment

0

Thank you so much! ^u^

This discussion is preserved as it was. New answers, comments, and votes are closed.