Skip to main content
alfredmack
Inspiring
Mar 26, 2020 1:34 PM UTC
Question

Change a mouse cursor in Captivate 2019

Hi, I'm designing a game which I need to use a "target icon" as my mouse cursor. I know this is possible in Simulation but in this case, I need to change my mouse cursor to "target icon". Anyone with a solution please help. 

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

sabre123
Participating Frequently
Mar 27, 2020 1:13 PM UTC

Sorry, but I don't understand your question.

Translate
sabre123
Participating Frequently
Mar 26, 2020 8:56 PM UTC

Try something like:

document.getElementById("cpDocument").style.cursor = "crosshair";

You can use a URL in place of "crosshair" for a custom cursor.

 

I just used the Developer Tools in Chrome to test, so you'll have to try the JS in your project to see if it works. I would use "crosshair" first to see if it works.

Translate