# How can I create a boolean in c++ and expose it to AnimGraph?

**URL:** <https://forums.unrealengine.com/t/how-can-i-create-a-boolean-in-c-and-expose-it-to-animgraph/285284>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 7, 2014, 2:19pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-boolean-in-c-and-expose-it-to-animgraph/285284 "2014-06-07T14:19:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [June 8, 2014, 6:16am UTC](https://forums.unrealengine.com/t/how-can-i-create-a-boolean-in-c-and-expose-it-to-animgraph/285284/2 "2014-06-08T06:16:28Z")

</div>

#Wiki Tutorial Custom Anim Vars In CPP

I have entire tutorial on your exact question here 🙂

> **[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...

Rama

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-create-a-boolean-in-c-and-expose-it-to-animgraph/285284)._
