-
Notifications
You must be signed in to change notification settings - Fork 0
lobs
Sheepolution edited this page Jan 25, 2024
·
2 revisions
function lobs.debug()
Enable printing out each lobster and obs function call.
WARNING: Do not use in combination with lobs.update. Doing so will cause OBS to crash.
fun()?
A callback for when the script is loaded. Hotkeys must be set inside this callback.
Accessing sources in this callback might cause OBS to crash.
fun(scene: Scene)?
A callback for when a scene has been found, which can take a few moments when OBS is starting up.
Use this callback for loading sources to be safe.
@scene
- The scene that was found.
function lobs.release()
Disable printing and type checks.
fun(dt: number)?
Called every frame.
@dt
- The time since the last frame in seconds.