Where is the BLUE "Get Distance To" node in blueprints?

Hey yall, I am completely new to blueprints and I need some help. I’m trying to make some butterflies flutter about randomly in the overworld, so I made some target points and wanted to make them randomly move between them, but the issue comes when the butterflies need to switch target. I followed this tutorial and it was going great until around 6:52. The video uses a blue “Get Distance To” node, but I can’t see that one anywhere in Unreal. I’m only able to get a green “Get Distance To” which won’t hook up to the “SetActorLocationAndRotation” node.

Tutorial: Unreal Engine 4 Tutorial - Simple Random Mesh Movement - YouTube

Anything I can do to get around this…? Or perhaps a better way of making butterflies altogether?

Screenshot 2022-01-13 14.10.16


The tutorial was made in 2014, I assume it is an older version of the function. The green one you get is the pure version of the function and returns the distance as well. Simply connect “setactor location…” to the branch and you are good to go

2 Likes

Thanks a lot!! :smiley: And yeah, unfortunately I couldn’t find anything newer.

1 Like

Here is a visual of what Grot13 stated about connecting the “Set Actor Location and Rotation” node to the Branch.