Hello, you would put live_call inside the local function and add live_name so that GMLive can tell what’s going on, like so:
live_name
var my_function = function(a, b) { live_name = "my_function"; if (live_call(a, b)) return live_result; ... }