We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

sanjeevmansotra

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: disable & enable mouse clik #79109
    sanjeevmansotra
    Participant

    Hello I’m Sanjeev Mansotra. Yes, in Soft8Soft Verge3D, you can disable or enable clicking on an object while an animation is playing by controlling the object’s interaction using JavaScript. You can:

    Disable interaction by removing or ignoring event listeners for the object while the animation is ongoing.

    Re-enable interaction by re-adding the event listeners once the animation completes.
    For example, you can use v3dApp.disableControls() to disable overall controls or manually manage click events for specific objects. Use callbacks, like animation.onComplete, to re-enable interactions after the animation ends.

Viewing 1 post (of 1 total)