freezes when function does not exist (DEF-3869) (SOLVED)


I want to call a JavaScript function using If the function called does not exist, the program hangs. I need to return even if the function called doesn’t exist. Is this possible?

My code:

if html5 then'parent.cmgGameEvent("start");') end


I would have thought it would return.
What does it say in the console?

1 Like


I would like it to return!

Console indicates a crash:

1 Like


Solved in 1.2.168

1 Like