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.

disable & enable mouse clik

Home Forums General Questions disable & enable mouse clik

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #79021
    visualizer
    Customer

    Can I disable or enable clicking on an object while some other animation is ongoing or it is playing?

    #79022
    kdv
    Participant

    You can disable/enable actions using logic puzzles.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #79023
    visualizer
    Customer

    agreed but where exactly this clicking can be set on or off ( disable / enable )

    example – how can I disable mouse click or enable mouse click as needed

    • This reply was modified 1 month ago by visualizer.
    #79025
    kdv
    Participant

    You can disable actions triggered by clicking.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #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.

    #79116
    visualizer
    Customer

    oh interesting!
    can you provide a little sample of this?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.