Link to scenebuilder and some Java code: https://i.stack.imgur.com/yBVJQ.jpg
Essentially, navigating and pictures will change based on where the person is going/facing.
I have polygons as D-pad arrows and I want to be able to detect when a person clicks on them. The "up" arrow polygon ID is "forward"
I read that forward.onMouseClickedProperty.addListener() or something can be used, but when I looked up "javafx polygon mouse event" I don't get how to implement into my project.
Can anyone tell me how to set up forward.onMouseClickedProperty.addListener()? Thanks!