• Fri 2019.07.05

    Hello @user101594,

    'What's the best way to structure this code?'

    Too many possibilities for anyone to just guess. The tutorial, a Javascript language syntax issue, understanding functions in general, referencing a function, Time library issue, timing?

    It is difficult to explain a process to solve an issue, without a foundation on which to start. As difficult as posting your code might seem, it will be by far the most efficient.

    Please see "Writing an effective forum post"


    for a few other items to help us better assist your situation. Also add links to the tutorials that have been attempted.

    'both require the same function'

    Lets start with the above referenced 'same function' and what has been attempted so far.


Avatar for Robin @Robin started