If you register objects (or as we call it, Master Get/Set), you can access another object without having to search for it. Typically you don't want to be using the Get All Actors with Tags as that will iterate over all the actors in the map, which can be very computationally expensive (Get All Actors with Classes is better, however). Instead, have your target object register themselves (on spawn, on overlap, or some other gameplay event) to somewhere you know how to get to easily. This can be your player character, player controller, game mode, game instance, and so on (in programming, these would be called singleton/multiton classes).
Come say hi!
Facebook: https://www.facebook.com/PendingKill/
Twitter: https://twitter.com/pending_kill
Instagram: https://www.instagram.com/pending_kill/
TikTok: https://www.tiktok.com/@pendingkill
00:00 Intro
00:35 Demo
01:25 Conceptual Explanation
02:41 Blueprints
04:46 Putting it All Together
Music:
Pacific - Vacation
Le Gang - I Don't Know Anything