Deactivating Hotspot Question

Problem: In my project users click on a magnifying glass hotspot question and a text box appears. They click a close button in the text box to hide the text box. I’d like to be able to add an event to the button that would deactivate the hotspot so they can’t keep clicking on it. I can’t get that to work. Is it possible?

ActivePresenter version: 8.5.0

OS: Windows 10

Notes: Thank you!

Hi,

You can add the following script to your button On Click to disable the hotspot:

// replace Hotspot Question_1 by your object name
prez.object('Hotspot Question_1').disable();

Regards