# \#functions

**URL:** https://forums.unrealengine.com/tag/functions/178.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Can i run function or change variable from console?](https://forums.unrealengine.com/t/can-i-run-function-or-change-variable-from-console/464928)

<div class="topic-metadata">

**Author:** [@1987kostya](https://forums.unrealengine.com/u/1987kostya)\
**Replies:** 2\
**Last updated:** [September 28, 2026, 8:38pm UTC](https://forums.unrealengine.com/t/can-i-run-function-or-change-variable-from-console/464928 "2026-09-28T20:38:45Z")

</div>

Can I run a function in a specific object on the map using the console? Or maybe I can change the variable value using console

---

## [Why can't I call a public function of a parent EUW widget via a reference variable in a child widget within the blueprint editor? ](https://forums.unrealengine.com/t/why-cant-i-call-a-public-function-of-a-parent-euw-widget-via-a-reference-variable-in-a-child-widget-within-the-blueprint-editor/2762702)

<div class="topic-metadata">

**Author:** [@ricochet52](https://forums.unrealengine.com/u/ricochet52)\
**Replies:** 8\
**Last updated:** [September 17, 2026, 1:41am UTC](https://forums.unrealengine.com/t/why-cant-i-call-a-public-function-of-a-parent-euw-widget-via-a-reference-variable-in-a-child-widget-within-the-blueprint-editor/2762702 "2026-09-17T01:41:58Z")

</div>

Hi folks! I’ve been tinkering with a custom dialogue system, and I made the above editor utility widget (EUW) to preview what dialogue scenes will look like without having to fire up the game and click through dialog…

---

## [What's the difference between Blueprint Macros and Blueprint Functions?](https://forums.unrealengine.com/t/whats-the-difference-between-blueprint-macros-and-blueprint-functions/280809)

<div class="topic-metadata">

**Author:** [@Feanix](https://forums.unrealengine.com/u/Feanix)\
**Replies:** 28\
**Last updated:** [August 20, 2026, 4:28pm UTC](https://forums.unrealengine.com/t/whats-the-difference-between-blueprint-macros-and-blueprint-functions/280809 "2026-08-20T16:28:55Z")

</div>

They both seem to do the same thing in the end. When should I use a function and when should I use a function?

---

## [Function notifications in MVVM do not work at all.](https://forums.unrealengine.com/t/function-notifications-in-mvvm-do-not-work-at-all/2742448)

<div class="topic-metadata">

**Author:** [@SemanticRain619](https://forums.unrealengine.com/u/SemanticRain619)\
**Replies:** 9\
**Last updated:** [August 11, 2026, 5:26am UTC](https://forums.unrealengine.com/t/function-notifications-in-mvvm-do-not-work-at-all/2742448 "2026-08-11T05:26:49Z")

</div>

I’ve spent two hours reading through the documentation on MVVM, yet this simple system still isn’t working. I am trying to update an integer on the VM, convert it to text using a function on the VM, and assign it to the…

---

## [How can I make my graph not compile if a custom function's input is not set?](https://forums.unrealengine.com/t/how-can-i-make-my-graph-not-compile-if-a-custom-functions-input-is-not-set/2723831)

<div class="topic-metadata">

**Author:** [@OrangeAedan](https://forums.unrealengine.com/u/OrangeAedan)\
**Replies:** 2\
**Last updated:** [May 22, 2026, 6:31pm UTC](https://forums.unrealengine.com/t/how-can-i-make-my-graph-not-compile-if-a-custom-functions-input-is-not-set/2723831 "2026-05-22T18:31:47Z")

</div>

Hello everyone. I am making a custom function that sets up a custom component I made. Here is my function btw: UFUNCTION(BlueprintCallable, Category = "Vehicle|Engine", meta = ( ToolTip = "Setup the EngineAudioManager.\\…

---

## [How do you debug a function in a blueprint function library?](https://forums.unrealengine.com/t/how-do-you-debug-a-function-in-a-blueprint-function-library/287564)

<div class="topic-metadata">

**Author:** [@Jeremy\_McKeown](https://forums.unrealengine.com/u/Jeremy_McKeown)\
**Replies:** 19\
**Last updated:** [May 18, 2026, 6:33pm UTC](https://forums.unrealengine.com/t/how-do-you-debug-a-function-in-a-blueprint-function-library/287564 "2026-05-18T18:33:39Z")

</div>

I have several blueprint function libraries that I use for utility functions. I’ve noticed that when you set a break point and step into a blueprint library function it that blueprint debugger stops providing watch inf…

---

## [Rapid Fire (No Cooldown) was mistakenly placed under Infinite Ammo/Magazine instead of being a proper system option](https://forums.unrealengine.com/t/rapid-fire-no-cooldown-was-mistakenly-placed-under-infinite-ammo-magazine-instead-of-being-a-proper-system-option/2719237)

<div class="topic-metadata">

**Author:** [@yoshili](https://forums.unrealengine.com/u/yoshili)\
**Replies:** 0\
**Last updated:** [April 30, 2026, 5:54pm UTC](https://forums.unrealengine.com/t/rapid-fire-no-cooldown-was-mistakenly-placed-under-infinite-ammo-magazine-instead-of-being-a-proper-system-option/2719237 "2026-04-30T17:54:13Z")

</div>

@Flak @EPIC @Bug-Reporter I believe this situation is primarily based on a misunderstanding, partly caused by how the feature was implemented and how it was reported. To avoid further confusion and to better support bot…

---

## [How can I ensure that a function owner only receives executions from specific targets?](https://forums.unrealengine.com/t/how-can-i-ensure-that-a-function-owner-only-receives-executions-from-specific-targets/2669551)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 4\
**Last updated:** [October 30, 2025, 6:45am UTC](https://forums.unrealengine.com/t/how-can-i-ensure-that-a-function-owner-only-receives-executions-from-specific-targets/2669551 "2025-10-30T06:45:21Z")

</div>

If the same function is executed from multiple targets, how do I select which target it was executed from and process the function accordingly? For example, if a function is executed from targets A and B, I want to rece…

---

## [Is there any way to get a delay in a function](https://forums.unrealengine.com/t/is-there-any-way-to-get-a-delay-in-a-function/391023)

<div class="topic-metadata">

**Author:** [@678GUY](https://forums.unrealengine.com/u/678GUY)\
**Replies:** 23\
**Last updated:** [June 6, 2025, 4:17am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-get-a-delay-in-a-function/391023 "2025-06-06T04:17:14Z")

</div>

is there any way to get some sort of a delay in a function dosent matter how just need a delay i dont care how complicated it is but i need it real bad

---

## [Where is the "On State Interrupt"-Event/Function state in AnimationBlueprint?](https://forums.unrealengine.com/t/where-is-the-on-state-interrupt-event-function-state-in-animationblueprint/1881083)

<div class="topic-metadata">

**Author:** [@OppaAi](https://forums.unrealengine.com/u/OppaAi)\
**Replies:** 1\
**Last updated:** [May 5, 2025, 4:24pm UTC](https://forums.unrealengine.com/t/where-is-the-on-state-interrupt-event-function-state-in-animationblueprint/1881083 "2025-05-05T16:24:26Z")

</div>

Hello fellas, first of all, I hope I am correct here in this section since I am not sure if questions about AnimationBlueprints are related to Animations or Blueprints. Forgive me if I am wrong. My question is: Is there…

---

## [USE A LOCAL FUNCTION IN ESTERNAL BPS?](https://forums.unrealengine.com/t/use-a-local-function-in-esternal-bps/2479422)

<div class="topic-metadata">

**Author:** [@Cykablatta](https://forums.unrealengine.com/u/Cykablatta)\
**Replies:** 34\
**Last updated:** [April 29, 2025, 7:31am UTC](https://forums.unrealengine.com/t/use-a-local-function-in-esternal-bps/2479422 "2025-04-29T07:31:29Z")

</div>

Hello ev! :slightly\_smiling\_face: I made a Blueprint Interface implemented in multiple different bps, so at 1 call x of them could responde and execute. Now, If I’m not wrong, I know is not possible to refer a local bp’…

---

## [Is it bad practice to Declare a Function in Anim Instance? c++](https://forums.unrealengine.com/t/is-it-bad-practice-to-declare-a-function-in-anim-instance-c/2385746)

<div class="topic-metadata">

**Author:** [@enam1984](https://forums.unrealengine.com/u/enam1984)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 4:08pm UTC](https://forums.unrealengine.com/t/is-it-bad-practice-to-declare-a-function-in-anim-instance-c/2385746 "2025-03-12T16:08:05Z")

</div>

Hi all, I am creating an FPS type game. I created a function called Procedural Recoil In which I outlined recoil functionality. The Function then gets triggered from a button press in the Character.cpp Class (Fire We…

---

## [Variable is Set with Function, But Always Goes on To Use the Default Value](https://forums.unrealengine.com/t/variable-is-set-with-function-but-always-goes-on-to-use-the-default-value/2377805)

<div class="topic-metadata">

**Author:** [@Maximum.Dino](https://forums.unrealengine.com/u/Maximum.Dino)\
**Replies:** 1\
**Last updated:** [March 6, 2025, 2:12pm UTC](https://forums.unrealengine.com/t/variable-is-set-with-function-but-always-goes-on-to-use-the-default-value/2377805 "2025-03-06T14:12:17Z")

</div>

Hello, I’m super confused about why I’m unable to set a variable. For context, this has been happening in multiple situations and I’m thinking I somehow am missing something huge that I should know but don’t. So I’m tryi…

---

## [I can't use Delay within Fuctions. Now what?](https://forums.unrealengine.com/t/i-cant-use-delay-within-fuctions-now-what/393653)

<div class="topic-metadata">

**Author:** [@The7thNoodle](https://forums.unrealengine.com/u/The7thNoodle)\
**Replies:** 1\
**Last updated:** [May 15, 2017, 1:47pm UTC](https://forums.unrealengine.com/t/i-cant-use-delay-within-fuctions-now-what/393653 "2017-05-15T13:47:14Z")

</div>

Good evening ladies and gents. I’m making a Space Shooter for a University assignment, I’m fairly new to Unreal. I put a lot of work into planning the Design and Systems of this shooter prior to starting development as…

---

## [Expose function to blueprints with Plus (+) sign!](https://forums.unrealengine.com/t/expose-function-to-blueprints-with-plus-sign/2237902)

<div class="topic-metadata">

**Author:** [@ShinyLopunny69](https://forums.unrealengine.com/u/ShinyLopunny69)\
**Replies:** 2\
**Last updated:** [December 26, 2024, 12:48am UTC](https://forums.unrealengine.com/t/expose-function-to-blueprints-with-plus-sign/2237902 "2024-12-26T00:48:37Z")

</div>

You know how there are some customizable nodes in blueprints that have a (+) button and you can click it and add outputs for the node? Like the switch on string, you click + and u add each string-case and the outputs up…

---

## [On Key Down Not Triggering](https://forums.unrealengine.com/t/on-key-down-not-triggering/482946)

<div class="topic-metadata">

**Author:** [@Zego\_Fr34ks](https://forums.unrealengine.com/u/Zego_Fr34ks)\
**Replies:** 12\
**Last updated:** [July 24, 2024, 11:03am UTC](https://forums.unrealengine.com/t/on-key-down-not-triggering/482946 "2024-07-24T11:03:17Z")

</div>

Hi, I want to print my pressed key on the screen so I used this to do it: But it doesn’t get triggered (my widget is added to the viewport). Does anybody know what I did wrong?

---

## [Using Enums With Functions](https://forums.unrealengine.com/t/using-enums-with-functions/1882601)

<div class="topic-metadata">

**Author:** [@ignavuss](https://forums.unrealengine.com/u/ignavuss)\
**Replies:** 2\
**Last updated:** [June 5, 2024, 8:40am UTC](https://forums.unrealengine.com/t/using-enums-with-functions/1882601 "2024-06-05T08:40:59Z")

</div>

Hey everyone! It’s my first week on UE, sorry if the question is too basic. I was going to ask can I use Enums as multiple functions. I made Math Interaction Enum with “Plus, divide etc” inside, I want to combine it wit…

---

## [Why am I getting an error of "\_\_\_\_\_\_ should not be called from a Blueprint" when I restart the Editor?](https://forums.unrealengine.com/t/why-am-i-getting-an-error-of-should-not-be-called-from-a-blueprint-when-i-restart-the-editor/281628)

<div class="topic-metadata">

**Author:** [@Kaonashi](https://forums.unrealengine.com/u/Kaonashi)\
**Replies:** 12\
**Last updated:** [June 4, 2024, 8:39pm UTC](https://forums.unrealengine.com/t/why-am-i-getting-an-error-of-should-not-be-called-from-a-blueprint-when-i-restart-the-editor/281628 "2024-06-04T20:39:33Z")

</div>

After struggling with this issue regarding my project I decided to submit my question to propper assistance. I created this Blueprint consisting of a Box for simple Overlap Events. This Blueprint acts as my Area Volume (…

---

## [翻译错误（简体中文）](https://forums.unrealengine.com/t/topic/1671485)

<div class="topic-metadata">

**Author:** [@xmh233](https://forums.unrealengine.com/u/xmh233)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 4:30am UTC](https://forums.unrealengine.com/t/topic/1671485 "2024-05-30T04:30:34Z")

</div>

我发现了UE中一个翻译错误，在蓝图的函数位置，有一个按钮，实际作用和英文文本都是“重写（override）”，但在UE的中文模式下显示为“重载（override）”，这是两个不同的概念，如果验证后确定为真实，希望可以改正。

---

## [\[Feature Request\] Limited Input Flexibility in Material Functions](https://forums.unrealengine.com/t/feature-request-limited-input-flexibility-in-material-functions/1873959)

<div class="topic-metadata">

**Author:** [@Ibtesam\_Sadiq](https://forums.unrealengine.com/u/Ibtesam_Sadiq)\
**Replies:** 0\
**Last updated:** [May 26, 2024, 3:18pm UTC](https://forums.unrealengine.com/t/feature-request-limited-input-flexibility-in-material-functions/1873959 "2024-05-26T15:18:58Z")

</div>

Current Behavior: Material functions require specific data type inputs (Vector2, Vector3, Vector4, Scalar). Built-in expressions within functions can handle various data types (automatic conversion). Problem: Creati…

---

## ["Goto defintion" option for BP nodes does nothing](https://forums.unrealengine.com/t/goto-defintion-option-for-bp-nodes-does-nothing/433659)

<div class="topic-metadata">

**Author:** [@Schytheron](https://forums.unrealengine.com/u/Schytheron)\
**Replies:** 19\
**Last updated:** [May 3, 2024, 4:15pm UTC](https://forums.unrealengine.com/t/goto-defintion-option-for-bp-nodes-does-nothing/433659 "2024-05-03T16:15:34Z")

</div>

So I was told that you can search for C++ function equivalents of Blueprint nodes if you right-click a blueprint node and choose “Goto Definition” (only works for C++ projects). So I made a fresh new C++ project to test…

---

## [Whitch function will called faster bound with delegate or set in SetTimer().](https://forums.unrealengine.com/t/whitch-function-will-called-faster-bound-with-delegate-or-set-in-settimer/1837257)

<div class="topic-metadata">

**Author:** [@ebrebzzeeere](https://forums.unrealengine.com/u/ebrebzzeeere)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 11:42pm UTC](https://forums.unrealengine.com/t/whitch-function-will-called-faster-bound-with-delegate-or-set-in-settimer/1837257 "2024-05-02T23:42:53Z")

</div>

Hi I’m new to UE. Suppose I have a function1 set in SetTimer(). On the other hand, I have a function2 bound with delegate which execute ClearTimer(). Here I have a question. What time function1 called finally? I don…

---

## [Why is my child blueprint not inheriting parent functions?](https://forums.unrealengine.com/t/why-is-my-child-blueprint-not-inheriting-parent-functions/745894)

<div class="topic-metadata">

**Author:** [@Freglz](https://forums.unrealengine.com/u/Freglz)\
**Replies:** 13\
**Last updated:** [August 4, 2023, 11:31pm UTC](https://forums.unrealengine.com/t/why-is-my-child-blueprint-not-inheriting-parent-functions/745894 "2023-08-04T23:31:18Z")

</div>

First post here, sorry if I don’t have the right question categories. I’m following a tutorial on implementing a weapon system into a project. Each weapon is a child of a base weapon actor class, which is a child of a …

---

## [Materials and Material Instances are broken in 5.3.1 (Crash)](https://forums.unrealengine.com/t/materials-and-material-instances-are-broken-in-5-3-1-crash/1318565)

<div class="topic-metadata">

**Author:** [@krisausataya](https://forums.unrealengine.com/u/krisausataya)\
**Replies:** 2\
**Last updated:** [March 24, 2024, 7:23am UTC](https://forums.unrealengine.com/t/materials-and-material-instances-are-broken-in-5-3-1-crash/1318565 "2024-03-24T07:23:18Z")

</div>

Crash happens when switching Static Bool parameters in Material Instances. Crash log: Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x0000000000000008 UnrealEditor\_MaterialEditor!FMaterialEditorUtili…

---

## [This function parameter expects a value of type tuple()-\>void, but this argument is an incompatible value of type player-\>void.(3509)](https://forums.unrealengine.com/t/this-function-parameter-expects-a-value-of-type-tuple-void-but-this-argument-is-an-incompatible-value-of-type-player-void-3509/1567947)

<div class="topic-metadata">

**Author:** [@Safixabs](https://forums.unrealengine.com/u/Safixabs)\
**Replies:** 1\
**Last updated:** [December 29, 2023, 9:34am UTC](https://forums.unrealengine.com/t/this-function-parameter-expects-a-value-of-type-tuple-void-but-this-argument-is-an-incompatible-value-of-type-player-void-3509/1567947 "2023-12-29T09:34:39Z")

</div>

I want that when the car explodes and comes back, the player gets into the car as its driver help ヾ(＠⌒ー⌒＠)ノ

---

## [\[C++\]How to return more than two variables from a function?](https://forums.unrealengine.com/t/c-how-to-return-more-than-two-variables-from-a-function/1369094)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 10\
**Last updated:** [November 8, 2023, 5:44pm UTC](https://forums.unrealengine.com/t/c-how-to-return-more-than-two-variables-from-a-function/1369094 "2023-11-08T17:44:47Z")

</div>

I have a function that should take two arguments and return the other two (different types). How can I return them so that I can use them in other C++ functions?

---

## [How to call functions from the "master" blueprint?](https://forums.unrealengine.com/t/how-to-call-functions-from-the-master-blueprint/1369364)

<div class="topic-metadata">

**Author:** [@RetroMonroe](https://forums.unrealengine.com/u/RetroMonroe)\
**Replies:** 2\
**Last updated:** [November 7, 2023, 3:52am UTC](https://forums.unrealengine.com/t/how-to-call-functions-from-the-master-blueprint/1369364 "2023-11-07T03:52:35Z")

</div>

Hi! I’ve created a “master” blueprint that will hold the other game mechanic blueprints. The goal is to have these players mechanics work on different interactable objects in the level. I dragged and dropped the blueprin…

---

## [How to collapse function variables in Blueprint?](https://forums.unrealengine.com/t/how-to-collapse-function-variables-in-blueprint/396200)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9ad25384](https://forums.unrealengine.com/u/anonymous_user_9ad25384)\
**Replies:** 2\
**Last updated:** [November 3, 2023, 12:29am UTC](https://forums.unrealengine.com/t/how-to-collapse-function-variables-in-blueprint/396200 "2023-11-03T00:29:33Z")

</div>

Hello. To put it quite simply, I was wondering how to group/hide variables of a function, similar to the Print String function. I have been digging around, but I cannot find out how to do this. I’m sorry if the title is…

---

## [Variable value does not change](https://forums.unrealengine.com/t/variable-value-does-not-change/1357743)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 33\
**Last updated:** [November 2, 2023, 7:40pm UTC](https://forums.unrealengine.com/t/variable-value-does-not-change/1357743 "2023-11-02T19:40:35Z")

</div>

Hi everyone, I have a question. I have an event dispatcher: QuestComplete. When it is called in the function bound to it, the value of the variable that determines the choice of actions is changed. The problem is that th…

---

## ["Run on Server" Function](https://forums.unrealengine.com/t/run-on-server-function/1330161)

<div class="topic-metadata">

**Author:** [@Leo\_kill7](https://forums.unrealengine.com/u/Leo_kill7)\
**Replies:** 4\
**Last updated:** [October 13, 2023, 10:25am UTC](https://forums.unrealengine.com/t/run-on-server-function/1330161 "2023-10-13T10:25:48Z")

</div>

Is there a possibility to run a functions on server. I am not talking about events but about functions

[Next page](https://forums.unrealengine.com/tag/functions/178.md?match_all_tags=true&page=1&tags%5B%5D=functions)
