# Using a blueprint callable c++ function from another class

**URL:** <https://forums.unrealengine.com/t/using-a-blueprint-callable-c-function-from-another-class/320242>\
**Category:** Character & Animation\
**Tags:** unreal-engine, editor, UE4, CPP, Blueprint, question\
**Created:** [May 30, 2015, 8:34pm UTC](https://forums.unrealengine.com/t/using-a-blueprint-callable-c-function-from-another-class/320242 "2015-05-30T20:34:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Zoc](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zoc/32/88714_2.png) [@Zoc](https://forums.unrealengine.com/u/Zoc)\
**Post date:** [May 31, 2015, 12:46am UTC](https://forums.unrealengine.com/t/using-a-blueprint-callable-c-function-from-another-class/320242/2 "2015-05-31T00:46:54Z")

</div>

You need to replicate your variable status.

Since you don’t a walkthrough, to completely understand what’s going on, there’s some information here:

> **[1.3 - Variable Replication](https://docs.unrealengine.com/4.27/en-US/Resources/ContentExamples/Networking/1_3/)**
>
> An overview of the Network Features example level, example 1.3: Variable Replication.

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

You might want to be careful on what you want to do. If you’re willing for the client to notify the server the isSwinging changed, you want a RPC function with these properties:

```
UFUNCTION(Server, Reliable, WithValidation)

```

If the server is aware and you want every single player out there to know this changed, use a Multicast:

```
UFUNCTION(NetMulticast, Reliable)

```

If you want that that just a specific client get information about this update, you probably want a:

```
UFUNCTION(Server, Reliable, WithValidation)

```

With the provided documentation, you probably will have the necessary information. If you’re stuck, ask again and I’ll try my best to help 🙂  
Oh, please, report back if you were successful - I’d love to hear back from you 🙂

Cheers!

---

_[View the full topic](https://forums.unrealengine.com/t/using-a-blueprint-callable-c-function-from-another-class/320242)._
