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.

Setting object inactive during event (animation)

Home Forums Puzzles Setting object inactive during event (animation)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41872
    chveti
    Participant

    Hello,

    I’ve searched half of my day and couldn’t find or think of solution.

    If my object is in ‘when clicked’ event, can I somehow disable clicking funcionality until animation will be played till the end?

    Here’s my example https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:afdd0f6ff0/applications/my_awesome_app/my_awesome_app.html

    My logic – if ball is clicked then animation is played and material is changed.

    My problem is that if you click on the ball during animation, material still changes, but animation is not done yet. I want to disable clicking function till animation is finished.

    Below are my puzzles, they’re rather chaotic cause i’ve been trying different setups just to get a better understanding how things work.

    I will appreciate all the help i can get!

    Attachments:
    You must be logged in to view attached files.
    #41906
    visualizer
    Customer

    Hi
    Even I was trying similar something some time back.

    I referred that swiss knife tutorial which has this enable /disable function. But that trick is not applicable here.

    Even I would like to know solution for this.

    #41910

    You can use If Animation Played puzzle to detect that animation still playing on specific object.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft.

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