Public Lua API

Build inside
Bloom.

The isolated Lua 5.4 runtime includes native invocation, native hooks, drawing, input, files, clipboard access, and visible runtime errors.

Raw native access

Use named RedM natives or call handlers directly by hash with an explicit return type.

Native interception

Wrap native calls made by your isolated scripts and inspect or change their arguments before forwarding them.

Custom interfaces

Draw text, shapes, images, and complete menus with Bloom’s frame-safe drawing and input surfaces.

Draw from the isolated runtime

overlay.lua
Bloom.SetTickRoutine(function()
  local w, h = Bloom.Draw.ScreenSize()
  if w == 0 then return end

  Bloom.Draw.CircleFilled(
    w / 2, h / 2, 4,
    255, 135, 187, 255, 24, 10
  )
end)