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.

Accessing built-ins in external function

Home Forums Programming Accessing built-ins in external function

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #66728
    masj
    Participant

    Noob question: :unsure:
    how can I access app, VARS, PROC, etc. that are accessible in the exec script puzzle when creating a function in the js file for the project using app.ExternalInterface….?
    I checked the developer reference docs but couldn’t get anywhere.

    #66729
    kdv
    Participant

    app is available by default in prepareExternalInterface(app)

    PROC -> v3d.puzzles.procedures or v3d.PL.procedures

    for VARS add a bit of code in puzzles

    after that
    VARS -> v3d.puzzles.variables or v3d.PL.variables

    Puzzles and JS. 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 meaning at all.

    #66732
    masj
    Participant

    Thank you!

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