# How call UFUNCTION (BlueprintImplementableEvent) from JS with EMSCRIPTEN and error: Module.ccall is not function?

**URL:** <https://forums.unrealengine.com/t/how-call-ufunction-blueprintimplementableevent-from-js-with-emscripten-and-error-module-ccall-is-not-function/758421>\
**Category:** C++\
**Tags:** webgl, HTML5, unreal-engine, CPP, question\
**Created:** [January 28, 2023, 3:36am UTC](https://forums.unrealengine.com/t/how-call-ufunction-blueprintimplementableevent-from-js-with-emscripten-and-error-module-ccall-is-not-function/758421 "2023-01-28T03:36:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![alphabrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alphabrox](https://forums.unrealengine.com/u/alphabrox)\
**Post date:** [December 9, 2024, 12:52pm UTC](https://forums.unrealengine.com/t/how-call-ufunction-blueprintimplementableevent-from-js-with-emscripten-and-error-module-ccall-is-not-function/758421/4 "2024-12-09T12:52:42Z")

</div>

To work Module.ccall you need to export ccall function (add it to exported methods array) in Engine\Platforms\HTML5\Source\Programs\UnrealBuildTool\HTML5ToolChain.cs (~473 line):

`Result += " -s EXPORTED_RUNTIME_METHODS=\"['stringToAscii', 'ccall']\"";`

---

_[View the full topic](https://forums.unrealengine.com/t/how-call-ufunction-blueprintimplementableevent-from-js-with-emscripten-and-error-module-ccall-is-not-function/758421)._
