
On the current release, a createButton label on a transparent background was drawn faint or not at all, and showed fully once the hover colour made the background solid. Mods used this to reveal a symbol only on hover. In the beta the label is drawn at its own font_color alpha whatever the background, so it is either always visible or never visible.
Environment: TTS v20.0 “Tabletop Simulator 2.0 Overhaul” public beta (Steam build 27098148, 2026-12-02); Unity 6000.7.0b9, MoonSharp 3.0.0.0; Linux desktop; singleplayer host; default graphics (Shadows High, Ambient Occlusion off, MSAA 2x). The same script rendered as intended on the current release (v14.2) before the beta update. Confirmed by changing one button property at runtime and comparing screenshots before and after.
Reproduce:
function onLoad()
-- a tiny always-visible indicator
self.createButton({click_function = "clicked", function_owner = self, label = "+1",
position = {-1.05, 0.34, 0}, width = 0, height = 0, font_size = 60, scale = {0.5, 1, 0.5},
color = {0, 0, 0, 0}, font_color = {0.4, 0.4, 0.4, 75}})
-- a larger hit area whose symbol should appear only on hover
self.createButton({click_function = "clicked", function_owner = self, label = "+1",
position = {-0.92, 0.35, 0}, width = 150, height = 150, font_size = 105,
color = {0, 0, 0, 0}, hover_color = {0.1, 0.1, 0.1, 1}, font_color = {0.8, 0.8, 0.8, 1}})
end
function clicked() endExpected (current release): only the small grey “+1” shows; hovering the larger area shows a dark square with a light “+1” in it.
Actual (beta): the large light “+1” always shows. Setting its font_color alpha to 0 hides it, but then hovering shows an empty dark square.
Our reading: labels used to be drawn at roughly the background’s opacity (a transparent background counting as about 1%), which is why many scripts use font alphas like 75 or 100. The same change makes life counters that dimmed their numbers with alpha 20 vs 100 stop dimming.
Why it matters: hover reveals keep cards readable while still showing which edge does what. We now use an empty hover highlight instead. A supported way to set a label’s hover colour (for example a hover_font_color) would restore the effect.
Questions: Is this change intended for 2.0, or a regression in the beta? If intended, could the release notes or the createButton documentation mention it, so mod authors know what to change?
One of seven reports on scripted button and input changes in the 2.0 beta.
