[SOLVED] Get/Set Item State and imports when used in libraries

:+1:

items is included in the default script scope. There is nothing that you need to import to access this in a script. To access items in a module, like you are doing, you will need to import it into the module like this…

from core.jsr223.scope import items

Same as here…

1 Like