---@type ButtonState local buttonState = {} buttonInputSystem = filteredSystem("buttonInput", { canReceiveButtons = T.marker }, function(e, _, system) e.buttonState = buttonState system.world:addEntity(e) end) function buttonInputSystem:preProcess() if #self.entities == 0 then return end end