How to get actor "instance id" for basic optimization?


I can’t see option how to get something like a instance id for selected Actor.

Sample. On press button I must do ForEach loop with all actors same class to get / set some variables. I have this selected actor instance already. Now on button release I must do again ForEach loop, where much better way would be just select it by known already id.

I don’t know this is possible and this is worth. Because even with given id engine have to do own loop by all instances… but.

Thank you