Animated mouse cursors

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Cairoo
Posts: 107
Joined: Wed Dec 05, 2012 5:54 pm

Animated mouse cursors

Post by Cairoo » Mon Jan 09, 2023 3:55 pm

Dear forum,

I have an animated GIF image that I would like to use as a mouse cursor. I tried setting the cursor to the GIF image and although it does change the cursor to the GIF image, it does not animate.

Can the cursor be animated in LiveCode?

I know i can use a timed handler and multiple images to set the cursor to the individual frames. I just wonder if there's an easier way.

- Gerrie

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Animated mouse cursors

Post by jmburnod » Tue Jan 10, 2023 2:06 pm

Hi Gerrie,
Not sure that is easier in your context but you may use a .gif image that follow the cursor.
Best regards
Jean-Marc
https://alternatic.ch

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Animated mouse cursors

Post by richmond62 » Tue Jan 10, 2023 2:28 pm

You could also use a small graphic object (as a frame) and a series of
images as a backGroundPattern.

Post Reply

Return to “Talking LiveCode”