Nez: free, open source 2D framework

I wouldn’t go that route. Just use findEntity at Scene start and cache your Entities