"Get Actors In Selection Rectangle" always returns empty

I am trying to use the Get Actors In Selection Rectangle blueprint node and no matter what I do it always returns empty.

Note before you respond that I’ve already tried:

  • Storing the mouse position in variables before getting them
  • Using the “Get Mouse Position” node instead of Get Mouse Position on Viewport
  • Changing the class filter to exactly match the objects I’m trying to select (all of which are Actors)
  • Toggling the 2 booleans on and off
  • I even tried breaking the first and second point pins and manually setting the x and y for each so that it essentially captures the entire screen (i.e. first at 0,0, second at 2000,1000).

It’s driving me nuts. Any ideas would be greatly appreciated. Thank you in advance!

i believe that function only works on the HUD Event ReceiveDraw if i got the name right its been a while.

so move all that functionality to the HUD, cache the output so it doesnt get cleared and return it to the player

Thank you so much! At first I couldn’t figure out how to call Event Receive Draw HUD but after some googling I realized that it’s called every Tick, so I simply created a gate to tell it when to update the actors in the rectangle. Leaving this here for anyone else having this issue:

Thank you again!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.