# \#return

**URL:** https://forums.unrealengine.com/tag/return/1618.md

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

---

## [About return pins on BPs](https://forums.unrealengine.com/t/about-return-pins-on-bps/2607169)

<div class="topic-metadata">

**Author:** [@thelukasoliver](https://forums.unrealengine.com/u/thelukasoliver)\
**Replies:** 3\
**Last updated:** [July 21, 2025, 6:45pm UTC](https://forums.unrealengine.com/t/about-return-pins-on-bps/2607169 "2025-07-21T18:45:40Z")

</div>

Does functions create a temporary class variable (property) when they have a return pin and are placed in the event graph? Because the shown on the image below will work forever, it will never crash or return something …

---

## [Blueprintable delegates with return values](https://forums.unrealengine.com/t/blueprintable-delegates-with-return-values/312897)

<div class="topic-metadata">

**Author:** [@itsAcren](https://forums.unrealengine.com/u/itsAcren)\
**Replies:** 11\
**Last updated:** [November 13, 2024, 2:47pm UTC](https://forums.unrealengine.com/t/blueprintable-delegates-with-return-values/312897 "2024-11-13T14:47:18Z")

</div>

Is it possible to declare delegates with return values that can be assigned in Blueprint? I know you can have input only events with BlueprintAssignable, but as far as I know the delegates have to be multicast and thus …

---

## [No value will be returned by reference](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4230003f](https://forums.unrealengine.com/u/anonymous_user_4230003f)\
**Replies:** 12\
**Last updated:** [May 11, 2022, 2:27am UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922 "2022-05-11T02:27:30Z")

</div>

Hi, I create an interface function that has array as input and implement it in an UMG. Then call the interface function as event and the following note appears: No value will be returned by reference. Here is a screens…

---

## [What is the proper way to implement an interface function that returns a struct in C++?](https://forums.unrealengine.com/t/what-is-the-proper-way-to-implement-an-interface-function-that-returns-a-struct-in-c/487490)

<div class="topic-metadata">

**Author:** [@Althaen](https://forums.unrealengine.com/u/Althaen)\
**Replies:** 1\
**Last updated:** [August 16, 2021, 4:54am UTC](https://forums.unrealengine.com/t/what-is-the-proper-way-to-implement-an-interface-function-that-returns-a-struct-in-c/487490 "2021-08-16T04:54:48Z")

</div>

I can’t find any examples of how to do this anywhere but I did find something in the engine and tried to copy the syntax but I can’t get it to work. I get this error unresolved external symbol "public: virtual struct F…

---

## [Rotate camera around object/ and then return to it's origin](https://forums.unrealengine.com/t/rotate-camera-around-object-and-then-return-to-its-origin/482866)

<div class="topic-metadata">

**Author:** [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Replies:** 1\
**Last updated:** [May 4, 2021, 3:43am UTC](https://forums.unrealengine.com/t/rotate-camera-around-object-and-then-return-to-its-origin/482866 "2021-05-04T03:43:13Z")

</div>

Don’t have a setup for this; wanted to try making the camera move around like how you normally would a character. However once you let go of the button or when you stop moving the camera it immediately returns back to i…

---

## [Blueprint function returning wrong value](https://forums.unrealengine.com/t/blueprint-function-returning-wrong-value/437680)

<div class="topic-metadata">

**Author:** [@HEGI](https://forums.unrealengine.com/u/HEGI)\
**Replies:** 8\
**Last updated:** [November 15, 2018, 3:06pm UTC](https://forums.unrealengine.com/t/blueprint-function-returning-wrong-value/437680 "2018-11-15T15:06:26Z")

</div>

Hello, I have a pure blueprint function that returns a value based on a simple condition. Now when the condition is not met anymore and the function has no return node, the last valid path is returned. In the case o…

---

## [I cant get the variables to return after widget](https://forums.unrealengine.com/t/i-cant-get-the-variables-to-return-after-widget/434732)

<div class="topic-metadata">

**Author:** [@XXpoomaanXX](https://forums.unrealengine.com/u/XXpoomaanXX)\
**Replies:** 1\
**Last updated:** [September 30, 2018, 2:27pm UTC](https://forums.unrealengine.com/t/i-cant-get-the-variables-to-return-after-widget/434732 "2018-09-30T14:27:06Z")

</div>

I checked a lot of tutorials and questions posted on this website and tried most of them, but I cannot get the widget to return the value of the boolean variable Here I want the widget to run and return the processe…

---

## [Blueprint function returns wrong value](https://forums.unrealengine.com/t/blueprint-function-returns-wrong-value/430866)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9ecf23871](https://forums.unrealengine.com/u/anonymous_user_9ecf23871)\
**Replies:** 4\
**Last updated:** [August 3, 2018, 1:09pm UTC](https://forums.unrealengine.com/t/blueprint-function-returns-wrong-value/430866 "2018-08-03T13:09:43Z")

</div>

This tree shows how my blueprints are made. Class1 has a function which returns a bool value. The problem is that when an instance of Class3\_1 or Class3\_2 (edit: actually it doesn’t work on every instance including Cl…

---

## [How do I make a free look, returning to position camera for a car driver's view.](https://forums.unrealengine.com/t/how-do-i-make-a-free-look-returning-to-position-camera-for-a-car-drivers-view/423026)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 1\
**Last updated:** [April 19, 2018, 4:38pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-free-look-returning-to-position-camera-for-a-car-drivers-view/423026 "2018-04-19T16:38:12Z")

</div>

I am trying to make a camera for my car’s driver view that allows me to look around using the mouse and then return to looking forward position if the mouse stops moving, just like in car sims and GTA. I can’t find any i…

---

## [I have Object A and Object B, C, or D, I need this to produce value X related to the two objects I have](https://forums.unrealengine.com/t/i-have-object-a-and-object-b-c-or-d-i-need-this-to-produce-value-x-related-to-the-two-objects-i-have/409347)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3f462c7e](https://forums.unrealengine.com/u/anonymous_user_3f462c7e)\
**Replies:** 1\
**Last updated:** [November 16, 2017, 9:30pm UTC](https://forums.unrealengine.com/t/i-have-object-a-and-object-b-c-or-d-i-need-this-to-produce-value-x-related-to-the-two-objects-i-have/409347 "2017-11-16T21:30:44Z")

</div>

I’m building a game that has time trials in it where you start at object A, and the program randomly picks between B, C, or D and produces an “optimal” time to get from A to that object. Then I need to be able to do this…

---

## [How to read return value of interface function in C++?](https://forums.unrealengine.com/t/how-to-read-return-value-of-interface-function-in-c/402235)

<div class="topic-metadata">

**Author:** [@Epok](https://forums.unrealengine.com/u/Epok)\
**Replies:** 1\
**Last updated:** [August 19, 2017, 10:00am UTC](https://forums.unrealengine.com/t/how-to-read-return-value-of-interface-function-in-c/402235 "2017-08-19T10:00:01Z")

</div>

Hi, I have declared an interface function which returns a boolean. UFUNCTION(BlueprintNativeEvent) bool CanPickup(); When I call the function I don’t understand how I am meant to read the value of the boolean being …

---

## [What is 'T' in the return value of Line Plane Intersection (Origin & Normal) node](https://forums.unrealengine.com/t/what-is-t-in-the-return-value-of-line-plane-intersection-origin-normal-node/382830)

<div class="topic-metadata">

**Author:** [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Replies:** 1\
**Last updated:** [April 27, 2017, 4:11am UTC](https://forums.unrealengine.com/t/what-is-t-in-the-return-value-of-line-plane-intersection-origin-normal-node/382830 "2017-04-27T04:11:41Z")

</div>

The documentation states: “The t of the intersection between the line and the plane” What’s the use of this ‘t’?

---

## [How to get the location of an actors top?](https://forums.unrealengine.com/t/how-to-get-the-location-of-an-actors-top/388734)

<div class="topic-metadata">

**Author:** [@JerichoBLT](https://forums.unrealengine.com/u/JerichoBLT)\
**Replies:** 1\
**Last updated:** [March 23, 2017, 3:59am UTC](https://forums.unrealengine.com/t/how-to-get-the-location-of-an-actors-top/388734 "2017-03-23T03:59:17Z")

</div>

If I use the “GetWorldLocation” action, It returns the location of it’s center. How can I return the location of it’s top, or bottom, or any part of it I want?

---

## [Return node pin for function not working](https://forums.unrealengine.com/t/return-node-pin-for-function-not-working/388450)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_dd537c6e](https://forums.unrealengine.com/u/anonymous_user_dd537c6e)\
**Replies:** 2\
**Last updated:** [March 20, 2017, 2:00pm UTC](https://forums.unrealengine.com/t/return-node-pin-for-function-not-working/388450 "2017-03-20T14:00:27Z")

</div>

Error on compiling: Could not find a pin for the parameter… No output pin (Nval) will show up for my function. Everything is connected, no orphans or broken links. Tried rewiring, rebuilding, manual values… Out of ide…

---

## [Move component to Return not working](https://forums.unrealengine.com/t/move-component-to-return-not-working/375797)

<div class="topic-metadata">

**Author:** [@CorbisHETB](https://forums.unrealengine.com/u/CorbisHETB)\
**Replies:** 2\
**Last updated:** [February 25, 2017, 10:20am UTC](https://forums.unrealengine.com/t/move-component-to-return-not-working/375797 "2017-02-25T10:20:26Z")

</div>

And the moment I start to feel like I understand how Blueprints work, then a problem like this hits me in the face all of a sudden. As you can see here, I have created a simple script where I have a Cube that will mo…

---

## [Crash when returning nullptr for function](https://forums.unrealengine.com/t/crash-when-returning-nullptr-for-function/376573)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d251ba761](https://forums.unrealengine.com/u/anonymous_user_d251ba761)\
**Replies:** 2\
**Last updated:** [November 17, 2016, 11:48pm UTC](https://forums.unrealengine.com/t/crash-when-returning-nullptr-for-function/376573 "2016-11-17T23:48:47Z")

</div>

When returning nullptr my UE4 crashes. I’m trying to make a saving function and when the save text is nothing it checks whether it is valid and then returns the nullptr value instead of the cast. How is returning null m…

---

## [HUD variable returns only its default value in a Blueprint Actor Class](https://forums.unrealengine.com/t/hud-variable-returns-only-its-default-value-in-a-blueprint-actor-class/350947)

<div class="topic-metadata">

**Author:** [@Todor\_Tsekov](https://forums.unrealengine.com/u/Todor_Tsekov)\
**Replies:** 0\
**Last updated:** [March 18, 2016, 10:10am UTC](https://forums.unrealengine.com/t/hud-variable-returns-only-its-default-value-in-a-blueprint-actor-class/350947 "2016-03-18T10:10:36Z")

</div>

Hello Unreal community, My name is Todor Tsekov and I am developing a game with blueprints. I have discovered the following problem. When I click a button in a widget I want it to set a integer value. Then I want to p…

---

## [TArray of FHitResoult On Server - distance always return 0](https://forums.unrealengine.com/t/tarray-of-fhitresoult-on-server-distance-always-return-0/340098)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b5c9f6eb](https://forums.unrealengine.com/u/anonymous_user_b5c9f6eb)\
**Replies:** 0\
**Last updated:** [November 30, 2015, 9:36am UTC](https://forums.unrealengine.com/t/tarray-of-fhitresoult-on-server-distance-always-return-0/340098 "2015-11-30T09:36:08Z")

</div>

Hi, I’m working on ShooterGame Project in UE 4.10. After sending a TArray to a Server function all distances in array get a value of 0. I don’t know if it’s bug or I’m doing something wrong. GetActor() returns local a…

---

## [Ragdoll and then return to normal](https://forums.unrealengine.com/t/ragdoll-and-then-return-to-normal/312996)

<div class="topic-metadata">

**Author:** [@Meowzie\_2](https://forums.unrealengine.com/u/Meowzie_2)\
**Replies:** 3\
**Last updated:** [November 8, 2015, 5:39pm UTC](https://forums.unrealengine.com/t/ragdoll-and-then-return-to-normal/312996 "2015-11-08T17:39:10Z")

</div>

Hi, i want my character to ragdoll and then simple go back to normal within 5 seconds using E Key. However, when i ragdoll my character mesh get seperated from root and i have no idea how to restore it back to normal as…

---

## [Return a UObject from a BlueprintImplementableEvent](https://forums.unrealengine.com/t/return-a-uobject-from-a-blueprintimplementableevent/337375)

<div class="topic-metadata">

**Author:** [@NullBlack](https://forums.unrealengine.com/u/NullBlack)\
**Replies:** 2\
**Last updated:** [November 4, 2015, 7:05pm UTC](https://forums.unrealengine.com/t/return-a-uobject-from-a-blueprintimplementableevent/337375 "2015-11-04T19:05:55Z")

</div>

I have read Return a value from a BlueprintImplementableEvent - Blueprint - Epic Developer Community Forums; “XXXX& output” doesn’t work if XXXX is a UObject. Is it possible to have BP return a UObject to C++?

---

## [Duplicating a return node not working as expected](https://forums.unrealengine.com/t/duplicating-a-return-node-not-working-as-expected/330856)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fbe5155f](https://forums.unrealengine.com/u/anonymous_user_fbe5155f)\
**Replies:** 3\
**Last updated:** [September 3, 2015, 8:50am UTC](https://forums.unrealengine.com/t/duplicating-a-return-node-not-working-as-expected/330856 "2015-09-03T08:50:07Z")

</div>

When in a blueprint function, duplicate the return node (via right-click duplicate, or copy and paste it) change the outputs on one expected: it changes the output on the one return node actual: it changes the output…

---

## [C++ parameter is also return value?](https://forums.unrealengine.com/t/c-parameter-is-also-return-value/324404)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_68436a09](https://forums.unrealengine.com/u/anonymous_user_68436a09)\
**Replies:** 4\
**Last updated:** [July 8, 2015, 11:52am UTC](https://forums.unrealengine.com/t/c-parameter-is-also-return-value/324404 "2015-07-08T11:52:38Z")

</div>

Hi, as a Java programmer, I have problems understanding how it works that the following two lines of code actually update currentMousePos\_ with the new mouse position? : FVector2D currentMousePos\_; GEngine-\>GameViewpor…

---

## [Blueprint Interface - Void Functions](https://forums.unrealengine.com/t/blueprint-interface-void-functions/299463)

<div class="topic-metadata">

**Author:** [@ULLS](https://forums.unrealengine.com/u/ULLS)\
**Replies:** 5\
**Last updated:** [April 29, 2015, 4:54am UTC](https://forums.unrealengine.com/t/blueprint-interface-void-functions/299463 "2015-04-29T04:54:24Z")

</div>

Hi, last night I encountered the issue where interface void functions were not showing up in a blueprint that implements the interface. Is this a bug or intended behavior? If it is a bug, are there any plans to get this …

---

## [Returning a TArray of FVector2D to blueprint](https://forums.unrealengine.com/t/returning-a-tarray-of-fvector2d-to-blueprint/292545)

<div class="topic-metadata">

**Author:** [@Xaymar](https://forums.unrealengine.com/u/Xaymar)\
**Replies:** 5\
**Last updated:** [September 1, 2014, 1:37pm UTC](https://forums.unrealengine.com/t/returning-a-tarray-of-fvector2d-to-blueprint/292545 "2014-09-01T13:37:56Z")

</div>

TL;DR: How do you return a TArray of FVector2Ds created in a C++ function to Blueprint? I’ve been trying to return a TArray of FVector2D, but whenever I call the function in Blueprint and/or want to use the result, all…

---

## [BlueprintImplementableEvent with void return not working](https://forums.unrealengine.com/t/blueprintimplementableevent-with-void-return-not-working/290934)

<div class="topic-metadata">

**Author:** [@Lambda42](https://forums.unrealengine.com/u/Lambda42)\
**Replies:** 5\
**Last updated:** [August 15, 2014, 3:30am UTC](https://forums.unrealengine.com/t/blueprintimplementableevent-with-void-return-not-working/290934 "2014-08-15T03:30:00Z")

</div>

\#Friendly Name Try including a friendly name! /\*\* My comment\*/ UFUNCTION(BlueprintImplementableEvent, meta=(FriendlyName = "My Happy Event")) virtual void BPEvent\_MyEvent();
