Click on object + Only one action when event loops = problem in sorting ???

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Please, look at my example.

    I try to create something like "click`n`destroy" action here. But .. get strange problem ((((
    Simple logic : click on object > place ID of object in global alterable (ID_catch) > check Object ID = ID_catch > Delete object

    If you try to click on intersected object, you will see that this click delete the object that placed behind others , BUT in ID_catch alterable i have ID of object that always placed on top !!!
    Is this a bug or something ? :(

    Please login to see this attachment.

    I hope I clearly explained.

  • In line 5 remove the 'only one action when event loops'.

    Notice how the user clicks with left button on is highlighted green (this means that it already treated as one action per click). By using 'only one action when event loops' it is doubling the action and will only be true for the first click, until the conditions aren't true anymore. By removing it, it should work as intended.

  • Strange, I've tested it many times and it works perfectly? Can anyone else test?

    Please login to see this attachment.

    Are you on the latest build of fusion? Seems odd that it works perfect for me and yet isn't working for you? PS I'm testing in windows.

    Edited once, last by aenever (June 29, 2018 at 10:57 AM).

  • I need to do some pause between click and destroy object. So i put some counter here, and if counter is active i need to lock mouse (keyboard, any click)
    And now i see same strange behavior - when i click on top object , fusion remove object on bottom :(

    Somebody help me please :(

    Please login to see this attachment.

    =============
    UPDATE.

    I found where i broke the code.

    Please login to see this attachment.

    Edited once, last by anatol (June 29, 2018 at 3:33 PM).

  • Strange, I've tested it many times and it works perfectly? Can anyone else test?

    Please login to see this attachment.

    Are you on the latest build of fusion? Seems odd that it works perfect for me and yet isn't working for you? PS I'm testing in windows.

    I tested it, and your solution is correct.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!