#OP I hope this does not hijack your thread but jumped in because it is something I’ve experienced, fiddled with and parked so nudged me. If you’re not Solved, extending/expanding discussion may benefit us both.
’I used to be able to click….’ me too.
I haven’t changed properties/allow select drag drop.
I have added an indicator which fills background (Range High/Low - so, if screen view is inside the range, the entire panel is inside the background fill).
The consequence is that clicking anywhere on the screen is inside the fill so always results in Selecting the indicator - similar to #OP’s problem. If there is ‘naked panel’ visible outside the Range indicator boundaries, clicking on it will unselect the Range indicator and then can select another Object if it resides outside the Range.
This indicator has z-order coded in to it. I looked in to it, didn’t properly understand the Ninjascript Help, the coding used is the stuff to make the indicator either highest or lowest z-order, I re-coded it using the ‘opposite’ and it didn’t seem to do anything different.
In layman/practical terms, I have a Range fill which in many circumstances the panel area will entirely be inside that range fill. Clicking always selects the indicator, so I can’t select any others.
But not quite….
Relationship to position of mouse pointer relative to Object wanting to click.
To the practical example - I draw an arrow inside the background-filled range. Then I want to modify it. If I click ‘arbitrarily’ inside the Range, the Range indicator gets selected (per #OP). But if I ‘fiddle around’ clicking near the arrow, sometimes I will be able to get it to select. Seems to depend on where I am hovering relative to the object’s anchor points. So my gut tells me there is something going on to do with more than z-order.
What this means in practice is I’ll invariably select the Range indicator if click inside the range. But it is *possible* that the arrow line may be selected and it is something to do with proximity of click, possibly to object’s anchor point (although I don’t know which one).
Which is very frustrating in practice, clicking & getting range indie invariably, right click to unclick, hover mouse over arrow line and try to get lucky, not knowing why you do when you do.
And finally, how is the default z-order of the arrow line determined? If that were always the top-most level (on top of the range background fill) then it would be the first that should get selected. But again proximity will always come in to play. If I am inside the range indicator, every pixel is ‘live’ to be selected nearest. So how is this handled (nearest object, proximity?).
Seems to me, that I want the range indicator always to be at the back because I never want to modify it or it’s outputs and will most often times want to select objects inside its range. I would have thought that would be what the hard coding in the indicator was for but doesn’t work like that, and when I ‘reversed’ the code it didn’t change.
I always want a manually drawn arrow line to be selectable to manually adjust it, sometimes I am able to select it after several attempts but don’t know what I’m doing differently when I grab it successfully.
KR
edit. I didn’t have my platform up earlier - can confirm my ‘allow select…’ option is checked & saves unlike #OP.
hence #Zachary if you feel these are likely unrelated kindly/feel free to move to a new thread. At your discretion.
KR
edit - not sure if background fill has anything to do with it or is simply if clicking inside the indicator’s range (point being, same as #OP, symptom is I can’t avoid it being selected by default, mainly, & when I can don’t know why (like playing pin the tail on the donkey with a moving donkey)

Comment