class Widget

  • supers: Callins, UnsyncedCallins

Widgets cannot control game logic and receive only unsynced callins.

Attention: To prevent complaints from Lua Language Server, e.g.

Duplicate field `CommandNotify` (duplicate-set-field)

Add this line at the top of your widget script:

local widget = widget ---@type Widget