Alternative to selectingInteractor?

XR Interaction Toolkit wants me to use interactorsSelecting instead of selectingInteractor now, but I can’t seem to figure out how to use it in the same way I was using selectingInteractor. I was wondering if someone can tell me how to use interactorsSelecting, since I can’t seem to find much on it, or inform me of some other method of getting the same results as if I were using selectingInteractor.

Hi @give_me_pen ,
The main change is that interactorsSelecting is now a list of XRBaseInteractables. You can check the .Count property to see how many XRBaseInteractors are selecting the object, then either grab the first one in the list (interactorsSelecting[0]) or iterate through to find the appropriate one for your use-case.

1 Like

Ah, I figured it was that, but I suppose I was somehow getting the syntax wrong, thanks for the help

1 Like