About little green console-menu

  • Hi, I noted that if the console it actived (o Key) there is new menu that it activate when press D key. This simple green menu show it a LAYER and HOTSPOT texts. At click this texts, are visible a green rectangle around all layers/hotspots in stage. (too to press L key, it show layers, and H key, the hotspots)


    My questions:
    1) There is more info about this new feature?
    2) There is any property relative to it for coding?

    My idea is try to show the names of layer/hotspot (near to green rectangle) at press a hotkey as help to coding.

    Best Regards,

    Fernando

  • you can also show the console at the top or at the bottom since 1.19pr13 or 14
    but you cant show the layer names

    depending on the layer structure this wouldn't be easy to read,
    where would you put the names? centered, lefttop?
    often they are on top of each other, then you cant read it at all

    for debugging you could do that yourself though
    i'd do a loop going through layers and add a small text layer with the name
    something like


    note, this is untested, just for the idea

    now if you want a christmas project,
    you could do a 2nd loop, checking if any titles are overlapping :)

  • Thanks very much Index.
    My question was about internal green feature, I miss a shift+L to show the layer names, very useful for coding, To show layer without name layer are not that useful. Then I wanted something:

    If the green box is active then if key shift+L is press show it the layer name, as a internal feature.... But the green box is not something: no name, no touch, no object, no event relative to it. it doesn't belong to the stage.

    Your solution works, of course, and it is good, but is not related to the green rectangles features. The green layer/hotspot rectangle is a good feature but limited, I thought I'd missed any hide code for reveal name.

    Maybe Klaus could add a code for it.

    Very grateful,

    Fernando.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!