Hi Rama ! Thank you for your answer !
First, it seems to work better than what i’ve done before ;). But there is something strange : When I do a box selection, it seems that the function detect the actors even if I am far from them … and even if I tick “Actor Must be Fully Enclosed” on the “Get Actors in Selection Rectangle”.
I’ve made 3 screenshots to show you what’s going on when I try to select them (at the left there are the first point, the second point and then the coordinates of the 2 actors), the blueprint that show the function where the “Get Actors in Selection Rectangle” is used and the third blueprint that show how I get the first and second point.
Maybe I have to convert the screen coordinates to the world coordinate or something like that ?