# How to call native functions from widgetBP?

**URL:** <https://forums.unrealengine.com/t/how-to-call-native-functions-from-widgetbp/10148>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 26, 2014, 12:55am UTC](https://forums.unrealengine.com/t/how-to-call-native-functions-from-widgetbp/10148 "2014-08-26T00:55:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![PenguinTD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PenguinTD](https://forums.unrealengine.com/u/PenguinTD)\
**Post date:** [August 26, 2014, 4:15am UTC](https://forums.unrealengine.com/t/how-to-call-native-functions-from-widgetbp/10148/2 "2014-08-26T04:15:29Z")

</div>

I think this is the wrong forum as the solution lies in macro you need to call before define your c++ functions.  
It’s the same for variables as well.

Watch closely to those native classes, how they call a macro before declare actual function in the class construct, that’s how you should do yours as well.

here are some links

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-call-native-functions-from-widgetbp/10148)._
