# Cant access variable in blueprint from c++

**URL:** <https://forums.unrealengine.com/t/cant-access-variable-in-blueprint-from-c/372614>\
**Category:** Blueprint\
**Tags:** unreal-engine, CPP, Blueprint, question\
**Created:** [October 6, 2016, 12:17pm UTC](https://forums.unrealengine.com/t/cant-access-variable-in-blueprint-from-c/372614 "2016-10-06T12:17:02Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Jawdy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jawdy](https://forums.unrealengine.com/u/Jawdy)\
**Post date:** [October 7, 2016, 1:58pm UTC](https://forums.unrealengine.com/t/cant-access-variable-in-blueprint-from-c/372614/14 "2016-10-07T13:58:28Z")

</div>

No: Class member variables accessed via an instance (i.e. what we have above)

Yes: Static variables/functions  
Something like:

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

With the first option (members), Blueprints still utilise and inherit from C++, so the C++ approach to programming still applies. In this case, from a base code level, one could not just access a property without first knowing where to look (which class definition; is it static?; if it’s from an instance, where’s the instance?; do you pass the instanced object?).

---

_[View the full topic](https://forums.unrealengine.com/t/cant-access-variable-in-blueprint-from-c/372614)._
