when i am pressing start button the draw texture is not drawing the texture start1.When i am putting it outside if condition it is working fine.Is there any problem when we put a gui inside another gui
this code will just draw the texture for the frame that the button was pressed
instead of that you need to add a boolean that turns on when you hit start