• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Change a mouse cursor in Captivate 2019

Explorer ,
Mar 26, 2020 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

533

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
community guidelines
Engaged ,
Mar 26, 2020 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.

Votes

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
community guidelines
Engaged ,
Mar 27, 2020 Mar 27, 2020

Copy link to clipboard

Copied

LATEST

Sorry, but I don't understand your question.

Votes

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
community guidelines
Resources
Help resources