panorama
The panorama namespace bridges Lua with CS:GOβs Panorama UI JavaScript runtime.
Function
Section titled βFunctionβlocal executed = panorama.run_script(js_code: string) --> booleanExecutes a JavaScript string within Panoramaβs root context.
Example: Playing a UI Sound Event
Section titled βExample: Playing a UI Sound Eventβ-- Trigger an event inside Panorama UIpanorama.run_script([[ $.Msg("Hello from Aimsense Lua bridge!"); GameInterfaceAPI.SetSettingString("sound_device_override", "");]])