So I’ve been messing with this for a long time to no avail. This is my silly little generator I made and I just can’t get this to work.

I am currently using an example marking to make this work until I can figure it out.

Essentially what I’m looking for is how can I make it so that “redtonemarking1” will only be visible/possible if “redBase” is currently on screen/selected.

Is there something I’m missing? Is it not possible? Thank you in advance.

  • wthit56@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    I notice the code has [x = base.evaluateItem] which will naturally output base.evaluateItem, which is what you are seeing. You can avoid this to also give it what to output after a comma: [x = base.evaluateItem, ""] Or you could even combine the block with the next block like this: [x = base.evaluateItem, imageLayerCombiner(data)] so that it will set the variable and output just the layer thingy.