@OpinionatedGamer said:
I might just not know what you guys are talking about, but I still have no idea what cloa513 is mad about. What exactly is on by default that you don't like?
If you create a button then if the mouse happens to be over it then it switches to a hoover state of Stylebox which looks different . Note you will be absolutely bewildered if you don't know this special behavior that GODOT secretly forces on you.
var newTile=Button.new()
newTile.set_script(nT)
newTile.rect_min_size=Vector2(75,75)
spawnpoint=spawnlocn-Vector2(25,25)
newTile._init3(spawnpoint,num,Color( 0.75, 0.75, 0.75, 3))
newTile.set_global_position(spawnpoint)
newTile.text=str(num)
newTile.add_color_override("font_color",Color( 0.75, 0.75, 0.75, 3))
var stylebox_flat := StyleBoxFlat.new()
stylebox_flat.bg_color =Color(1, 1, 1, 1)
newTile.add_stylebox_override("normal", stylebox_flat)