Jump to content


Recommended Posts

  • Topic Author
  • 25 minutes ago, HSrdelic said:

    You will need to use a bit of python there.

    I've tried to use python. But I have a syntax error. What's wrong?


    def main():
        global Output1
        global s
        s=Input1
        if s > 0 :
        Output1 = s
        else :
           Output1 = 7

    Share this post


    Link to post
    Share on other sites

  • Topic Author
  • 4 minutes ago, HSrdelic said:

    I think this is what you are after ;) 

    Thank you so much. Can you explain to me? About inValue I hear at the first time.

    Share this post


    Link to post
    Share on other sites

    That is just a variable name. I simply detect while mouse is active from interaction tag and then store the value. When it isn't active it doesn't store, thus staying at last value before mouse release.

    • Like 1

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×