How to create an image in a flowpane using a button, but the button and the flowpane are on different scenes
I am creating a game that includes a weapon shop(In a different scene), in the weapon shop are buttons which execute methods that create and place the images in the respective flowpane. but when running an error occurs which says “this.lane1Wall” which is the flowpane is null. I have no idea how to fix this error. Any Ideas?