Is there any way to make the button on the bottom left and the text field on the bottom right at the same time ??
Thank you.
If you mean making them appear at the same time, then you should create instances of them close together and then add them to the screen one right after the other
What do you mean by button? Like a pause button?
You could try adding them to the same group
That's how my group added text and everything to the game, we just added everything after the road because everything is supposed to be on top of the road. The code is .getChildren().add(variable)