Highlighted

Change a mouse cursor in Captivate 2019

Explorer ,
Mar 26, 2020

Copy link to clipboard

Copied

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. 

Topics

Advanced

Views

318

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Change a mouse cursor in Captivate 2019

Explorer ,
Mar 26, 2020

Copy link to clipboard

Copied

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. 

Topics

Advanced

Views

319

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Contributor ,
Mar 26, 2020

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Captivate User Guide
New Group