Animated Cursor

Hello guys,

I got actually 2 questions:

1 - Is it possible to have animated cursors? If so would I need to animate it programatically?

2 - I created a custom cursor for testing purposes, but every time I hover an UI element it falls back to the default cursor? How can I control these behaviours?

Thanks in advance.

2 Likes

AFAIK you can’t prevent UI elements from changing the cursor. But you can set the cursor every frame, see if there’s an event that fires when the cursor changes and listen for that to reset the cursor back to what you want.

As for animating the cursor, you’ll have to change the cursor to the next frame of animation e.g. every RenderStepped.

You can also make your own custom cursor from scratch, which is useful if you e.g. want to control the cursor position on the screen.

For animating the cursor, you can also use Tweenservice to change the cursors properties.

This could be a good use of spritesheets.

Yeah, it is. I made it today. I have just used ImageLabels and script.

https://i.gyazo.com/fb615ab7eaa11dd9a434c08d8066bbda.gif

1 Like