# \#function

**URL:** https://forums.unrealengine.com/tag/function/1765.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

---

## [Creating a Blueprint implementable function in C++](https://forums.unrealengine.com/t/creating-a-blueprint-implementable-function-in-c/345003)

<div class="topic-metadata">

**Author:** [@joelComberiati](https://forums.unrealengine.com/u/joelComberiati)\
**Replies:** 11\
**Last updated:** [July 23, 2025, 12:51pm UTC](https://forums.unrealengine.com/t/creating-a-blueprint-implementable-function-in-c/345003 "2025-07-23T12:51:57Z")

</div>

So, I know there are tons of questions out there asking the same thing, but i cannot seem to get anything to work. This is what i tried: Playercharacter.h UFUNCTION(BlueprintNativeEvent) void SetInventoryItemsGUI\_Imp…

---

## [Transform In Animation window](https://forums.unrealengine.com/t/transform-in-animation-window/2481814)

<div class="topic-metadata">

**Author:** [@TheNecxoo](https://forums.unrealengine.com/u/TheNecxoo)\
**Replies:** 0\
**Last updated:** [April 29, 2025, 6:56pm UTC](https://forums.unrealengine.com/t/transform-in-animation-window/2481814 "2025-04-29T18:56:25Z")

</div>

Where did transform go in the animation window/panel

---

## [Wrong function output](https://forums.unrealengine.com/t/wrong-function-output/2393725)

<div class="topic-metadata">

**Author:** [@im\_vi](https://forums.unrealengine.com/u/im_vi)\
**Replies:** 8\
**Last updated:** [March 17, 2025, 9:37pm UTC](https://forums.unrealengine.com/t/wrong-function-output/2393725 "2025-03-17T21:37:47Z")

</div>

Hello, I have a weird issue where if I try to input code for a safe (which is 2515), the buttons seem output the number as x+1. It’s like that on every button except 3, 6, 9 and 0, they output correct values. Did I do so…

---

## [How to use a function from a custom module in creative device?](https://forums.unrealengine.com/t/how-to-use-a-function-from-a-custom-module-in-creative-device/2387222)

<div class="topic-metadata">

**Author:** [@MrDJ2U](https://forums.unrealengine.com/u/MrDJ2U)\
**Replies:** 9\
**Last updated:** [March 13, 2025, 4:12pm UTC](https://forums.unrealengine.com/t/how-to-use-a-function-from-a-custom-module-in-creative-device/2387222 "2025-03-13T16:12:11Z")

</div>

I’m not sure what the problem is in the way I’m using modules. I’ve researched for awhile and can’t find anything that really explains it. I have created the following module for the purpose of cycling vending machines…

---

## [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…

---

## [Call non thread safe function in thread safe](https://forums.unrealengine.com/t/call-non-thread-safe-function-in-thread-safe/2132967)

<div class="topic-metadata">

**Author:** [@NajwanAzhiim.M](https://forums.unrealengine.com/u/NajwanAzhiim.M)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 2:55pm UTC](https://forums.unrealengine.com/t/call-non-thread-safe-function-in-thread-safe/2132967 "2024-11-18T14:55:47Z")

</div>

I have a question, in game animation sample there are many function in abp using thread safe, there is an idea to call non thread safe function in thread safe

---

## [Callback Function Triggering On Binding (Unreal 5 C++)](https://forums.unrealengine.com/t/callback-function-triggering-on-binding-unreal-5-c/1992573)

<div class="topic-metadata">

**Author:** [@SCARBLAZ1](https://forums.unrealengine.com/u/SCARBLAZ1)\
**Replies:** 0\
**Last updated:** [August 26, 2024, 2:56pm UTC](https://forums.unrealengine.com/t/callback-function-triggering-on-binding-unreal-5-c/1992573 "2024-08-26T14:56:13Z")

</div>

//add schedule time to schedule list -- done //for loop the list in tick, if time == schedule time -\> broadcast the callback ScheduleData.ScheduleTime = FMath::Clamp(ScheduleData.ScheduleTime, 0.0f, 24.f); FOnTime…

---

## [Static function with DefaultToSelf?](https://forums.unrealengine.com/t/static-function-with-defaulttoself/411422)

<div class="topic-metadata">

**Author:** [@Napoleonite](https://forums.unrealengine.com/u/Napoleonite)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 1:18am UTC](https://forums.unrealengine.com/t/static-function-with-defaulttoself/411422 "2024-07-04T01:18:59Z")

</div>

I’m trying to create a visible Target-pin for Blueprints that defaults to “self” for a static function like this one: This is what I have now (but does not work): UFUNCTION(BlueprintCallable, Category = "Custom", met…

---

## [Removing output from interface function](https://forums.unrealengine.com/t/removing-output-from-interface-function/337183)

<div class="topic-metadata">

**Author:** [@Fistoflove](https://forums.unrealengine.com/u/Fistoflove)\
**Replies:** 6\
**Last updated:** [June 19, 2024, 6:42pm UTC](https://forums.unrealengine.com/t/removing-output-from-interface-function/337183 "2024-06-19T18:42:26Z")

</div>

Steps: Create an interface with a function List item. Add an output to that function Add that interface to a blueprint Remove the output from the interface’s function A bug occurs which prevents compiling …

---

## [dynamic text content binding isnt working with for loop](https://forums.unrealengine.com/t/dynamic-text-content-binding-isnt-working-with-for-loop/1867672)

<div class="topic-metadata">

**Author:** [@HyperGameDev](https://forums.unrealengine.com/u/HyperGameDev)\
**Replies:** 2\
**Last updated:** [May 23, 2024, 5:20am UTC](https://forums.unrealengine.com/t/dynamic-text-content-binding-isnt-working-with-for-loop/1867672 "2024-05-23T05:20:02Z")

</div>

I’m working on a code that binds text content to an array of buttons on the settings menu to improve the user interface. When users hover over each button, the infotitle is supposed to change accordingly. My goal is to m…

---

## [Python: How to call a blueprint function](https://forums.unrealengine.com/t/python-how-to-call-a-blueprint-function/454513)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0846af92](https://forums.unrealengine.com/u/anonymous_user_0846af92)\
**Replies:** 8\
**Last updated:** [April 22, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/python-how-to-call-a-blueprint-function/454513 "2024-04-22T14:58:23Z")

</div>

Hi all, Is there a way that I can call a function implemented in blueprints (e.g on an actor) from the python API? Something tells me you may not be able to call functions from the editor (outside of runtime), but that…

---

## [Setting a by-ref var in a function does not replicate/notify](https://forums.unrealengine.com/t/setting-a-by-ref-var-in-a-function-does-not-replicate-notify/407517)

<div class="topic-metadata">

**Author:** [@falconblade](https://forums.unrealengine.com/u/falconblade)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 3:24am UTC](https://forums.unrealengine.com/t/setting-a-by-ref-var-in-a-function-does-not-replicate-notify/407517 "2024-02-07T03:24:33Z")

</div>

I have a variable/property on a pawn blueprint that is replicated and set to auto-notify. If I pass that variable to a function by-reference and update it using set by-ref var inside the function, it does not Replicate/R…

---

## [Control Rig Function Libraries - Color node header feature broken](https://forums.unrealengine.com/t/control-rig-function-libraries-color-node-header-feature-broken/1483786)

<div class="topic-metadata">

**Author:** [@rboualayan](https://forums.unrealengine.com/u/rboualayan)\
**Replies:** 1\
**Last updated:** [January 29, 2024, 3:42pm UTC](https://forums.unrealengine.com/t/control-rig-function-libraries-color-node-header-feature-broken/1483786 "2024-01-29T15:42:59Z")

</div>

Hi :smiley: I’m having an issue with coloring the node header of functions created in unreal 5.3.1. It used to work fine in 5.2 however, now when I try to select a new color it would open the color wheel and let me choo…

---

## [Pass-By-Reference output](https://forums.unrealengine.com/t/pass-by-reference-output/439702)

<div class="topic-metadata">

**Author:** [@Cucharon](https://forums.unrealengine.com/u/Cucharon)\
**Replies:** 4\
**Last updated:** [December 24, 2023, 3:35pm UTC](https://forums.unrealengine.com/t/pass-by-reference-output/439702 "2023-12-24T15:35:37Z")

</div>

In a blueprint function, there is any way to return a reference to a struct/array of structs? You can do it in the input, why not in the output?

---

## [Multiple pause key events getting called from 2 widgets ???](https://forums.unrealengine.com/t/multiple-pause-key-events-getting-called-from-2-widgets/1392038)

<div class="topic-metadata">

**Author:** [@Sumant\_Bag\_1992](https://forums.unrealengine.com/u/Sumant_Bag_1992)\
**Replies:** 3\
**Last updated:** [November 15, 2023, 12:54pm UTC](https://forums.unrealengine.com/t/multiple-pause-key-events-getting-called-from-2-widgets/1392038 "2023-11-15T12:54:42Z")

</div>

Following this tutorial : How To Create A Pause Menu | New And Improved - Unreal Engine 4 Tutorial While going back from the options menu using the p button (escape button), the complete pause menu system disappears, an…

---

## [Calculating a rotation and using it in a function?](https://forums.unrealengine.com/t/calculating-a-rotation-and-using-it-in-a-function/1292843)

<div class="topic-metadata">

**Author:** [@Alexotronic](https://forums.unrealengine.com/u/Alexotronic)\
**Replies:** 0\
**Last updated:** [September 12, 2023, 9:57pm UTC](https://forums.unrealengine.com/t/calculating-a-rotation-and-using-it-in-a-function/1292843 "2023-09-12T21:57:53Z")

</div>

Hi all, I haven’t fully groked rotations and am hoping someone can easily point out the correct syntax. Imagine a Square, and the player will TeleportTo a random side of the square when they take damage. I was able to …

---

## [How to get which android version the app is currently running on?](https://forums.unrealengine.com/t/how-to-get-which-android-version-the-app-is-currently-running-on/399004)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4230003f](https://forums.unrealengine.com/u/anonymous_user_4230003f)\
**Replies:** 1\
**Last updated:** [July 22, 2023, 2:49pm UTC](https://forums.unrealengine.com/t/how-to-get-which-android-version-the-app-is-currently-running-on/399004 "2023-07-22T14:49:43Z")

</div>

Hi, Is there any way to get the actual version of android through blueprints? If there is no way to do this through blueprints I’d be interested in C++ function or code that can get the android version the app is curren…

---

## [MultiGate Doesnt Work Inside Functions](https://forums.unrealengine.com/t/multigate-doesnt-work-inside-functions/313545)

<div class="topic-metadata">

**Author:** [@Nsomnia](https://forums.unrealengine.com/u/Nsomnia)\
**Replies:** 6\
**Last updated:** [June 5, 2023, 11:26pm UTC](https://forums.unrealengine.com/t/multigate-doesnt-work-inside-functions/313545 "2023-06-05T23:26:43Z")

</div>

I am finding something weird as I clean up event graphs by taking inputaction events (aka an action mapping) that execute x number of nodes and turning those nodes into a function. When I use an action mapping for somet…

---

## [Actor Begin Overlap in function](https://forums.unrealengine.com/t/actor-begin-overlap-in-function/815721)

<div class="topic-metadata">

**Author:** [@remzXD](https://forums.unrealengine.com/u/remzXD)\
**Replies:** 3\
**Last updated:** [March 24, 2023, 10:21am UTC](https://forums.unrealengine.com/t/actor-begin-overlap-in-function/815721 "2023-03-24T10:21:07Z")

</div>

Hello, I have multiple trigger boxes, and a boolean is set to true if the good trigger box is overlaped (I compare the name of the trigger box with the GuessNumber). I would like to implement a function to simplify the…

---

## [Why can't I add a Delay Node to a function?](https://forums.unrealengine.com/t/why-cant-i-add-a-delay-node-to-a-function/284366)

<div class="topic-metadata">

**Author:** [@Denny](https://forums.unrealengine.com/u/Denny)\
**Replies:** 23\
**Last updated:** [March 11, 2023, 7:29pm UTC](https://forums.unrealengine.com/t/why-cant-i-add-a-delay-node-to-a-function/284366 "2023-03-11T19:29:30Z")

</div>

This relates to Unreal Engine 4.1.0 via the Launcher. I can add Delay Nodes to any Event Graph, even the Animation Blueprint. I can not however add it to construction scripts and functions used in the Event Graph. Repr…

---

## [Delegate Scope confusion with C++ function](https://forums.unrealengine.com/t/delegate-scope-confusion-with-c-function/787737)

<div class="topic-metadata">

**Author:** [@MarvinECL](https://forums.unrealengine.com/u/MarvinECL)\
**Replies:** 2\
**Last updated:** [March 10, 2023, 1:21pm UTC](https://forums.unrealengine.com/t/delegate-scope-confusion-with-c-function/787737 "2023-03-10T13:21:17Z")

</div>

I’m confused of the correct scope of delegate in C++. Here is an example: I made an delegate declearation : DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE(FOnStart) And I let the object A hold the delegate: A { ... FOnStart OnStar…

---

## [Local variable in collapsed graph not updated if function renamed (compile error)](https://forums.unrealengine.com/t/local-variable-in-collapsed-graph-not-updated-if-function-renamed-compile-error/394645)

<div class="topic-metadata">

**Author:** [@Spoondog](https://forums.unrealengine.com/u/Spoondog)\
**Replies:** 2\
**Last updated:** [January 18, 2023, 6:22pm UTC](https://forums.unrealengine.com/t/local-variable-in-collapsed-graph-not-updated-if-function-renamed-compile-error/394645 "2023-01-18T18:22:13Z")

</div>

If you have a local variable being used inside a collapsed graph inside a function, and you rename the function, it fails to compile until you place a new get/set of the variable in the collapsed graph. To reproduce …

---

## [How to blend more than 2 material functions?](https://forums.unrealengine.com/t/how-to-blend-more-than-2-material-functions/430826)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c52978941](https://forums.unrealengine.com/u/anonymous_user_c52978941)\
**Replies:** 3\
**Last updated:** [November 17, 2022, 7:46pm UTC](https://forums.unrealengine.com/t/how-to-blend-more-than-2-material-functions/430826 "2022-11-17T19:46:55Z")

</div>

I am trying to blend 3 material functions together, to get a result like i had blended 3 materials together, but without having to break the material attributes first, or having to set the landscape output node to Blend …

---

## [How to unload material function base on player distance](https://forums.unrealengine.com/t/how-to-unload-material-function-base-on-player-distance/492211)

<div class="topic-metadata">

**Author:** [@dfza](https://forums.unrealengine.com/u/dfza)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 4:05pm UTC](https://forums.unrealengine.com/t/how-to-unload-material-function-base-on-player-distance/492211 "2022-01-28T16:05:49Z")

</div>

Hi, for performance reason, i want to know if there is a way to unload or switch off some material functions when player is far? pixel depth are runtime numbers, how to make it into a Boolean? or there is another way …

---

## [Material Function Instance not inherit parameter for Material](https://forums.unrealengine.com/t/material-function-instance-not-inherit-parameter-for-material/488031)

<div class="topic-metadata">

**Author:** [@Arkideit](https://forums.unrealengine.com/u/Arkideit)\
**Replies:** 0\
**Last updated:** [August 26, 2021, 11:22am UTC](https://forums.unrealengine.com/t/material-function-instance-not-inherit-parameter-for-material/488031 "2021-08-26T11:22:41Z")

</div>

I found Material cant reach paramteres in material function instance when i attached to material. For example GravelMF(collect all parameters and textures for single layer) =\>GravelMF\_inst(have all changeable paramete…

---

## [Timeline direction enum function C++](https://forums.unrealengine.com/t/timeline-direction-enum-function-c/487926)

<div class="topic-metadata">

**Author:** [@Earon1](https://forums.unrealengine.com/u/Earon1)\
**Replies:** 0\
**Last updated:** [August 24, 2021, 11:02am UTC](https://forums.unrealengine.com/t/timeline-direction-enum-function-c/487926 "2021-08-24T11:02:53Z")

</div>

Hello, can somebody explain to me this part/function of the timeline code. UEnum\* FTimeline::GetTimelineDirectionEnum() { static UEnum\* TimelineDirectionEnum = NULL; if(NULL == TimelineDirectionEnum) { FName Time…

---

## [Error 2084 Function already has a body](https://forums.unrealengine.com/t/error-2084-function-already-has-a-body/299594)

<div class="topic-metadata">

**Author:** [@NeusAap\_1](https://forums.unrealengine.com/u/NeusAap_1)\
**Replies:** 4\
**Last updated:** [August 21, 2021, 11:42am UTC](https://forums.unrealengine.com/t/error-2084-function-already-has-a-body/299594 "2021-08-21T11:42:50Z")

</div>

Hello everyone! I am having problems with a function in my projectile class. It says that my function already has a body, which I don’t really understand. Every class starts with this function right?: AFPSProjectile::A…

---

## [Inventory: Navigate a vertical Box Widget?](https://forums.unrealengine.com/t/inventory-navigate-a-vertical-box-widget/486967)

<div class="topic-metadata">

**Author:** [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Replies:** 3\
**Last updated:** [August 7, 2021, 3:39pm UTC](https://forums.unrealengine.com/t/inventory-navigate-a-vertical-box-widget/486967 "2021-08-07T15:39:56Z")

</div>

Not sure where to start off. I have a setup where a menu of items is placed in a vertical box which is inside of a Scrollbox. I want to navigate up and down the vertical box to see the items in the item list menu as in …

---

## [Widget Displaying a text/string variable](https://forums.unrealengine.com/t/widget-displaying-a-text-string-variable/384455)

<div class="topic-metadata">

**Author:** [@DeOceanPirate](https://forums.unrealengine.com/u/DeOceanPirate)\
**Replies:** 10\
**Last updated:** [May 5, 2021, 3:56am UTC](https://forums.unrealengine.com/t/widget-displaying-a-text-string-variable/384455 "2021-05-05T03:56:36Z")

</div>

Hi, I can’t seem to get my widget to replicate/display a variable or string. I have tried a few things but neither work. The widget is meant to get the Character’s Name and display it in my Widget, but fails to work howe…

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