Functionality that confirms if the player has looked at an item/character

Here you go:



This code goes inside your targeted object, probably not best to run this on tick. You can use a timer with a slow rate (0.2 or something) or just slow down the tick. It can have a significant impact on performance if lots of objects are running this code.

You can copy this into your BP to get the nodes.

PS: This is UE 4.26, if the nodes don’t appear in UE 5, try searching for them separately in that version.

Edit: Bug in code, fixed it. If this works for you, please mark it as the answer, thanks.