Button behind transparent Hbox unclickable
I have a HBox with no background, but with some children. Behind the HBox is a button which need to be clicked. The button is unclickable at the开发者_运维技巧 moment because the HBox is on top of it. I need the button to be clickable and still have the HBox on top of it.
Is there a way to accomplish this, because I can't seem to find a solution...
hBox.mouseEnabled=false;
hBox.mouseChildren=false;
精彩评论